Java Reference
In-Depth Information
Creating Your First CDC Application
As with your first CLDC application, writing your first CDC application requires that you
install the NetBeans Mobility Pack for CDC before you begin working. WeatherApplet, the
sample application you create here (shown in Figure 3-11), is the CDC analogue of the
CDLC WeatherWidget application you created in the previous section. As you did with
WeatherWidget, in this section you build only the UI, using the AGUI APIs described in
JSR 209. A subset of Java Swing, you'll learn more about these APIs in Chapter 10.
Figure 3-11. The WeatherApplet application
Walking Through the Creation of WeatherApplet
Perform the steps in the following sections to create WeatherApplet using the
NetBeans IDE.
 
Search WWH ::




Custom Search