MIDlet Menu
The MIDlet menu has the following options.
- Reload selected MIDlet The current MIDlet is reloaded in the emulator. All settings are set to the initial values from the property sheets. The startApp() method will be run as well. A MIDlet which has been destroyed by sucessfully calling destroyApp() on it must be reloaded before it can be restarted.
- call startApp() on selected MIDlet The startApp method is run in the current MIDlet. This is useful to test the startApp method. This will only have an effect if the selected MIDlet is in the paused state.
- call pauseApp() on selected MIDlet The pauseApp method is run in the current MIDlet. This is useful to test the pauseApp method. It will set the state of the MIDlet to "paused" in the Emulator. This will only have an effect if the selected MIDlet is in the started state.
- call destroyApp(true) on selected MIDlet The current MIDlet will be forced to be destroyed after running the destroyApp method. After this method is run, the state of the MIDlet will be "destroyed" in the Emulator.
- call destroyApp(false) on selected MIDlet The current MIDlet will be forced to be destroyed after running the destroyApp method, unless it throws a MIDletStateChangeException. After this is run, the state of the MIDlet will be "destroyed" in the Emulator unless a MIDletStateChangeException was thrown by the MIDlet to signal that it was not ready to be shut down.
- Reset classloader This has the effect of performing a full reset of the Emulator. All midlets are reloaded, and the previous classloader is removed.
- Show the MID Emulator In the event the MID Emulator is closed, this menu item will display the Emulator once again.
- Open a command window for selected MIDlet This will open a command window (see page 115) for the selected MIDlet.
| Data Representations, Inc. http://www.datarepresentations.com support@datarepresentations.com sales@datarepresentations.com |