Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse Plug-in Developer Guide
Previous Page Home Next Page

SWT example - OLE Web Browser

This example shows how to embed an Active X control into an SWT application or an Eclipse view.

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.

Running the example

From Eclipse's 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.

This example can also be run using the Example Launcher. Select the OLE Web Browser item from the Win32 only category and click Run.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire