Sample: SWT browser

The SWT Browser sample is a simple, fully-featured Web browser application that is based on the Standard Widget Toolkit (SWT) Browser widget. The browser was built using the Java™ visual editor. On Windows, the browser uses Internet Explorer as its renderer. On Linux, the browser uses Mozilla.
5 minutes

To import the sample, click the Import sample link.

This example highlights the Java visual editor's event handling capabilities and the arrow styles of SWT buttons. The browser is also a good example of the SWT GridLayout layout manager being used for complex layout.

This sample might require some optionally installable components. If you encounter errors or cannot find user interface options when you run the sample, ensure that you install the Java client application editor component.

After you import the sample and open it in the Java visual editor, you can run the application by clicking Run > Run as > Java Bean.


Feedback