June 2005
Beginner to intermediate
336 pages
6h 29m
English
To create the Browser project, you're going to have to know how SWT applications work. Take a look at Figure 8.2, where you'll see just about the simplest such application. It just displays the text “An SWT label, very cool.” in an SWT Label widget inside an SWT window.

This application, LabelProject.java, starts importing the SWT classes it needs and creating a new LabelProject object in the main method:
import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; public class LabelProject { public static void main(String [] args) { new LabelProject(); } . . . }
In the constructor, ...
Read now
Unlock full access