This text editor will be able to set the text color, as well as the background color of the text editing region. In the JBuilder Professional and Enterprise versions of the tutorial, it will also be able to set the text font.
The tutorial takes approximately two hours to complete.
Some steps in this tutorial are specific to JBuilder Professional and Enterprise editions. This is noted at the top of those steps.
The Text Editor tutorial uses the Project and Application wizards to create the project. Then it shows you how to use the visual design tools, modify the UI design, hook up events, and edit source code. It steps you through handling events for commonly used components and tasks, such as menu items, a toolbar, a text area, and system events. It contains specific examples that show you how to do the following:
JFileChooser
dialog box to allow the user to select a file.
JTextArea
.
FontChooser
dialog.
JTextArea
component.
This step is for JBuilder Professional and Enterprise only.
To see the complete source for the TextEditor sample, open the project:
jbuilder/samples/swing/SimpleTextEditor/SimpleTextEditor.jpr
jbuilder/samples/TextEditor/TextEditor.jpr
To navigate this tutorial, click the forward and backward buttons at the top or bottom of each step. Click the Home button to go back to the beginning of the tutorial.