/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
import com.sun.lwuit.events.ActionEvent;
import javax.microedition.midlet.*;
//import javax.microedition.lcdui.*;
/**
*
* @author acer
*/import com.sun.lwuit.*;
import com.sun.lwuit.events.ActionListener;
public class Midlet2 extends MIDlet implements ActionListener{
public void startApp() {
System.out.print("ssssssss");
Display.init(this);
Form f = new Form("form222");
// f.getContentPane().getStyle().setFgColor(0x00ff00);
f.getStyle().setBgColor(0xc0c0c0);
f.getTitleStyle().setBgColor(0xff00ff);
f.getTitleStyle().setFgColor(0x00000);
f.show();
f.addCommand(new Command("exit"));
f.setCommandListener(this);
}
public void pauseApp() {
}
public void destroyApp(boolean unconditional) {
}
public void actionPerformed(ActionEvent arg0) {
// throw new UnsupportedOperationException("Not supported yet.");
notifyDestroyed();
}
}