+ 1
Application
Je voudrais savoir comment à partir d’une fenêtre créée en java on peut créer une application avec raccourci et tout 🙌🏻
4 odpowiedzi
+ 1
public class yourClass extends MIDlet {
private Display display = null;
public void startApp() {
if(display==null) display = Display.getDisplay(this);
}
public void pauseApp()
{ }
public void destroyApp(boolean unconditional)
{ }
}
This is the basic midlet. It shows nothing.
Make a .Java file and paste this code then connect to your MIDlet.
From the above code.
MIDlet is class.
yourClass extends MIDlet means.
They provided a class for you ("MIDlet") .
"extends" is help to allow inherit to yourClass from MIDlet class.
+ 2
Did you mean J2ME(Java micro edition)
Or java web application or any other?
+ 1
the first one I think
+ 1
thank you 🙏🏻