Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions j/j2me.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import javax.microedition.lcdui.*;
import javax.microedition.midlet.*;

public class HelloMIDlet extends MIDlet {
private Display display;
private Form helloFrm;

public HelloMIDlet() {
helloFrm = new Form("Hello world");
}

protected void startApp() {
display = Display.getDisplay(this);
display.setCurrent(helloFrm);
}

protected void pauseApp() {
}

protected void destroyApp(boolean unconditional) {
}
}
1 change: 1 addition & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,7 @@ Make sure to see [contributing.md](/contributing.md) for instructions on contrib
* [ITAMFSARL](i/ITAMFSARL.itamfsarl)
* [J#](j/J%23.jsl)
* [J](j/J.ijs)
* [J2ME](j/j2me.java)
* [Jade](j/Jade.jade)
* [Jai](j/Jai.jai)
* [Jakt](j/Jakt.jakt)
Expand Down