Advertisement
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, Emma This is BB CV 8520";
- from.append(msg);
- display=Display.getDisplay(this);
- display.setCurrent(form);
- }
- public void pauseApp(){}
- public void destroyApp(boolean unconditional)
- {
- notifyDestroyed();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement