Java Reference
In-Depth Information
To Compile and Run the Application
1. In the TextPad window, click Compile Java on the Tools menu.
Java compiles the source code for the Reservations application (Figure 5-37).
If you have errors, fix them in the TextPad window, save, and then
recompile.
source code for
Reservations
application
FIGURE 5-37
2. Click Run Java Application on the Tools menu. Click the Name text box.
The Reservations application window is displayed (Figure 5-38). Eight
TextArea components display, one for each room.
Search WWH ::




Custom Search