i have sample program using lwuit . it is good in SUN JAVA WIRELESS TOOLKIT
but icant be ran in sony erricson sdk (debug on device) i selected jp8 devices.
my jdk version is 6 update 5.
please help me.
/////////////////////////
show error is
Error preverifying class com.sun.lwuit.animations.Transition3D
VERIFIER ERROR com/sun/lwuit/animations/Transition3D.initTransition()V:
Cannot find class javax/microedition/m3g/Node
///////////////////////////////
my program is
import com.sun.lwuit.*;
import com.sun.lwuit.layouts.BorderLayout;
public class HelloMidlet extends javax.microedition.midlet.MIDlet {
public void startApp() {
//init the LWUIT Display
Display.init(this);
// Setting the application theme is discussed
// later in the theme chapter and the resources chapter
Form f = new Form();
f.setLayout(new BorderLayout());
f.addComponent("Center", new Label("I am a Label"));
f.show();
}
public void pauseApp() {
}
public void destroyApp(boolean unconditional) {
}
}

Reply With Quote


