Sun Microsystems J2ME manual Tools in the Toolkit, KToolbar window

Models: J2ME

1 134
Download 134 pages 62.02 Kb
Page 14
Image 14

FIGURE 1 The KToolbar window

Next, click on the Open Project... button to open a demonstration application. You'll see a list of all the available applications. Pick one of them and click on the Open Project button in the dialog.

Once the application is open, all you need to do is press the Run button. The emulator will pop up running the example application.

Most demonstrations are self-explanatory, but some have additional instructions. See Appendix A, “Application Demonstrations,” for additional details.

All the source code for the demonstration applications is available in the {toolkit}\apps directory. Each demonstration has its own project directory. Inside the project directory, the source files are in the src directory. For example, the source code for the games demonstration is in {toolkit}\apps\games\src directory.

1.2The Tools in the Toolkit

The J2ME Wireless Toolkit has three main components:

KToolbar automates many of the tasks involved in creating MIDP applications.

The emulator is a simulated mobile phone. It is useful for testing MIDP applications.

A collection of utilities provides other useful functionality, including a text messaging console and cryptographic utilities.

2 J2ME Wireless Toolkit User’s Guide • October 2004

Page 14
Image 14
Sun Microsystems J2ME manual Tools in the Toolkit, KToolbar window