Compiling the program
Looking back at the IDE, you should see the TipCalculator.Midlet file in the 'Composer Files' group. Now we want to compile and test the program inside the Emulator.
- You want to bring up the pop-up menu for the TipCalculator.java icon. This is usually done by clicking the right mouse button on the icon, but this behavior varies on different operating systems. You can also show the pop-up menu by holding the shift key and clicking the icon with the mouse.
- Choose 'Compile and run' from the pop-up menu. Simplicity for Palm OS Platform now invokes your Java compiler to turn the Java source code which you just created into an executable file, called a Java class file. After it finishes, a new MID Emulator will open, running your program.
| Data Representations, Inc. http://www.datarepresentations.com support@datarepresentations.com sales@datarepresentations.com |