This sample is a single Java class that demonstrates a simple plain text editor designed in the Java visual editor using Standard Widget Toolkit (SWT) widgets. The application demonstrates simple UI design and layout techniques using the GridLayout layout manager.
To see how this same application could be built using Swing components rather than SWT, and to compare how the Java visual editor works with events and components with the different tool sets, you can also import the Swing Simple Text Editor sample.
Before you import the sample, see the important note in the setup instructions by clicking the Setup Instructions link.