SWT example - Browser

The Browser Example is a simple demonstration of the SWT Browser widget. It consists of a composite containing a Browser widget to render HTML and some additional widgets to implement actions commonly found on browsers (toolbar with back, forward, refresh and stop buttons, status bar etc.).

Running the example

Follow the SWT standalone examples setup instructions to install and run the example from your workspace.

The "Main" class is org.eclipse.swt.examples.browserexample.BrowserExample.

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