Created
October 4, 2011 05:24
-
-
Save khannedy/1260959 to your computer and use it in GitHub Desktop.
Belajar JME di NetBeans IDE
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Copyright (c) 2011, StripBandunk and/or its affiliates. All rights reserved. | |
| * | |
| * http://stripbandunk.com/ | |
| * | |
| * STRIPBANDUNK PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. | |
| */ | |
| package khannedy.belajar.mobile; | |
| import javax.microedition.lcdui.Display; | |
| import javax.microedition.lcdui.Form; | |
| import javax.microedition.midlet.MIDlet; | |
| /** | |
| * @author Eko Kurniawan Khannedy | |
| */ | |
| public class ProgramHello extends MIDlet { | |
| private Display display; | |
| private Form form; | |
| public ProgramHello() { | |
| display = Display.getDisplay(this); | |
| form = new Form("Program Hello"); | |
| form.append("Hello World"); | |
| } | |
| public void startApp() { | |
| display.setCurrent(form); | |
| } | |
| public void pauseApp() { | |
| display.setCurrent(null); | |
| } | |
| public void destroyApp(boolean unconditional) { | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Copyright (c) 2011, StripBandunk and/or its affiliates. All rights reserved. | |
| * | |
| * http://stripbandunk.com/ | |
| * | |
| * STRIPBANDUNK PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. | |
| */ | |
| package khannedy.belajar.mobile; | |
| import javax.microedition.midlet.*; | |
| /** | |
| * @author Eko Kurniawan Khannedy | |
| */ | |
| public class ProgramHello extends MIDlet { | |
| public void startApp() { | |
| } | |
| public void pauseApp() { | |
| } | |
| public void destroyApp(boolean unconditional) { | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment