Java Reference
In-Depth Information
Adding the Java Commands to TextPad
After installing the SDK and TextPad as described in Appendix B, the Compile Java, Run Java
Application, and Run Java Applet commands should display on the Tools menu. You can verify this by
checking the commands available on the Tools menu or checking the preferences set in the Preferences
dialog box. The following steps verify that the Java commands are added and, if not, add the Java com-
mands to TextPad.
To Add the Java Commands to TextPad
1. If necessary, click Configure in the TextPad toolbar and then click Preferences to display
the Preferences dialog box. With the Preferences dialog box displaying, click Tools in
the Preferences list. When the Tools page is displayed, if the form list is empty, click
the Add button arrow.
The Add button menu displays available tools (Figure C-10). If your form list already displays the
Java commands, you may skip the next step.
Preferences
dialog box
form list
empty
Add button
arrow
JDK
Commands
Tools
page
Apply
button
Tools
command
FIGURE C-10
2. Click JDK Commands on the Add button menu. Click the Apply button.
The Java commands to compile and run programs now will be listed on the Tools menu each time
you start TextPad. You can assign shortcuts to any of these commands using the Keyboard page in the
Preferences dialog box.
Turning on Line Numbers
Line numbers assist programmers in referencing code and fixing errors. TextPad users can set a
preference to turn on line numbers so that they always display and print. The following steps show
how to turn on line numbers that display on the screen as well as on printouts.
Search WWH ::




Custom Search