Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 6801146f1c9a80978f3397b655484e17a31ca3a9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
   <title>SWT - OLE Web Browser</title>
</head>
<body>

<h2>Example - OLE Web Browser</h2>

<p>
This example demonstrates how to embed an Active X control into an SWT application or an Eclipse view.
<p>
</p>
When the view is opened, it will create an instance of the Windows Internet Explorer
control.  The OLE Web Browser has
Back and Forward buttons to take you to recently visited pages.  The browser also contains
a Home button to take you to the web browser's home page, a Stop button which stops the 
current transfer, a Search button which will search for text typed in the Address text field, and
a Refresh button which re-draws the contents of the currently displayed page. There is also a
Go button which, when clicked, will attempt to load the page specified in the Address field.
</p>

<h3>Running the example</h3>

<p>
From the Window menu select Show View &#8594; Other... .  
In the Show View dialog, expand SWT Examples and select
the view named OLE Web Browser (Win32). A view containing a web browser will appear.
</p>

<p><a href="hglegal2002.htm"><img SRC="ngibmcpy2002.gif" ALT="Copyright IBM Corporation 2000, 2002.  All Rights Reserved." BORDER=0 height=12 width=195></a></p>
</body>
</html>

Back to the top