<!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 --> 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 and others 2000, 2002. All Rights Reserved." BORDER=0 height=14 width=324></a></p> | |
</body> | |
</html> |