Application | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 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 Respostas
+ 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