Sign in or register
for additional privileges

Border Codes

Mark Marino, Author

You appear to be using an older verion of Internet Explorer. For the best experience please upgrade your IE version or switch to a another web browser.

Startup

CODE:
  1.  protected void startApp() throws MIDletStateChangeException {
  2.  // get the display
  3.  if (display == null) {
  4.  display = Display.getDisplay(this);
  5.  }
Function: Starts the application and gets the display.


Technically, this code is boilerplate, since all MIDlets are required to have a method for starting the application. 



Comment on this page
 

Discussion of "Startup"

Add your voice to this discussion.

Checking your signed in status ...

Previous page on path position, page 2 of 7 Next page on path