The startApp() method is used to notify the MIDlet that it has entered in the Active state. In this state, it can hold resources. This method will only be called when the MIDlet is in the Paused state. The following is the general form of the method:
throws MIDletStateChangeException
It is possible that the startApp() method cannot start the MIDlet. It can happen due to the following two reasons:
The MIDletStateChangeException is thrown if the MIDlet cannot start immediately, but it can start after some time. If any runtime exception occurs during the process of startApp() method, the MIDlet will be destroyed immediately.
Become SUN SCJA certified. Download free practice test for CX310-019 SCJA exam.