Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import javax.microedition.lcdui.*;
- import javax.microedition.midlet.*;
- public class HelloWorld extends MIDlet {
- private Form form;
- private Display display;
- public HelloWorld() {
- super();
- }
- public void startApp() {
- form = new Form("Hello World");
- String msg = "Hello World!!!!!!!";
- form.append(msg);
- display = Display.getDisplay(this);
- display.setCurrent(form);
- }
- public void pauseApp(){}
- public void destroyApp(boolean unconditional){
- notifyDestroyed();
- }
- }
Add Comment
Please, Sign In to add comment