+ 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 🙌🏻

14th Jan 2019, 2:18 PM
Keveffect
Keveffect - avatar
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.
16th Jan 2019, 9:04 PM
Kelvin Paul
Kelvin Paul - avatar
+ 2
Did you mean J2ME(Java micro edition) Or java web application or any other?
16th Jan 2019, 6:27 PM
Kelvin Paul
Kelvin Paul - avatar
+ 1
the first one I think
16th Jan 2019, 8:53 PM
Keveffect
Keveffect - avatar
+ 1
thank you 🙏🏻
17th Jan 2019, 10:17 PM
Keveffect
Keveffect - avatar