n/*
n
* @(#)HelloWorldMIDlet.java - 1.0 03/03/05
n
*/
npackage
example;
n
nimport
javax.microedition.midlet.*;
nimport
javax.microedition.lcdui.*;
n/**
n
* An example HelloWorldMIDlet shows the values of the system properties.
n
*/
npublic
class HelloWorldMIDlet extends MIDlet implements CommandListener {
n private Display display;
n private Command exitCommand, backCommand,
aboutCommand, propsCommand;
n private TextBox textBox;
n private Alert alert;
n private List list;
n private Form props;
n private StringBuffer propbuf = new
StringBuffer(50);
n private boolean firstTime = true;
n /*
n * Construct a new HelloWorldMIDlet.
n */
n public HelloWorldMIDlet() {
n // Display
n display = Display.getDisplay(this);