To import the sample, click the Import sample link.
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.
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 .