Java Reference
In-Depth Information
Creating the Project
Follow these steps to create the project for WeatherApplet:
1. Click CREATE NEW PROJECT in the Welcome pane.
2. Choose CDC from the Categories pane, and choose CDC Application from the
Projects pane. Click Next.
3. Accept the default settings by clicking Next.
4. Enter the name WeatherApplet in the Project Name and Application Name fields.
If Create Main Class is selected, uncheck it. Click Finish.
Creating the User Interface
Follow these steps to create the user interface:
1. In the Projects pane, right-click the Source Packages item and choose New
AGUI Xlet Form, as shown in Figure 3-12.
Figure 3-12. Inserting a new Xlet form
 
Search WWH ::




Custom Search