Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import javax.microedition.lcdui.Display;
- import javax.microedition.lcdui.Form;
- import javax.microedition.midlet.MIDlet;
- import javax.microedition.midlet.MIDletStateChangeException;
- public class namedetumidlet extends MIDlet {
- public Form form;
- public Display display;
- public namedetumidlet() {
- }
- protected void destroyApp(boolean arg0) throws MIDletStateChangeException {
- // TODO Auto-generated method stub
- }
- protected void pauseApp() {
- // TODO Auto-generated method stub
- }
- protected void startApp() throws MIDletStateChangeException {
- form = new Form("Ejemplo1");
- String msg = Saludos desde mi midlet J2ME,paz";
- form.append(msg);
- display = Display.getDisplay(this);
- display.setCurrent(form);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement