//Desenvolvido na versão Netbeans 7.3.1!!
package mobileapplication1;
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
/**
* @author marcelo xavier
*/
public class HelloMIDlet extends MIDlet implements CommandListener {
private boolean midletPaused = false;
//
private Command exitCommand;
private Form form;
private StringItem stringItem;
private TextField textField;
//
package mobileapplication1;
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
/**
* @author marcelo xavier
*/
public class HelloMIDlet extends MIDlet implements CommandListener {
private boolean midletPaused = false;
//
private Command exitCommand;
private Form form;
private StringItem stringItem;
private TextField textField;
//
/**
* The HelloMIDlet constructor.
*/
public HelloMIDlet() {
}
//
//
//
/**
* Initializes the application. It is called only once when the MIDlet is
* started. The method is called before the
*
startMIDlet
method.*/
private void initialize() {
// write pre-initialize user code here
// write post-initialize user code here
}
//
//
/**
* Performs an action assigned to the Mobile Device - MIDlet Started point.
*/
public void startMIDlet() {
// write pre-action user code here
switchDisplayable(null, getForm());
// write post-action user code here
}
//
Comentários
Postar um comentário