poiuytrez3
Messages postés150Date d'inscriptiondimanche 28 septembre 2003StatutMembreDernière intervention17 mars 2009
-
28 déc. 2004 à 18:22
poiuytrez3
Messages postés150Date d'inscriptiondimanche 28 septembre 2003StatutMembreDernière intervention17 mars 2009
-
28 déc. 2004 à 18:24
Bonjour, je tente de faire tourner un petit programme en java MIDP 1.0 qui est le suivant:
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
public class Hello extends MIDlet {
private Display display;
private TextBox textbox;
public Hello() {
display = Display.getDisplay(this);
textbox = new TextBox("", "Bonjour", 20, 0);
}
public void startApp() {
display.setCurrent(textbox);
}
public void pauseApp() {
}
public void destroyApp(boolean unconditional) {
}
}
Mais le wireless toolkit me sort :
Running with storage root temp.DefaultColorPhone1104254058327
Unable to create MIDlet Hello
java.lang.ClassNotFoundException: Hello
at com.sun.midp.midlet.MIDletState.createMIDlet(+14)
at com.sun.midp.midlet.Selector.run(+22)