Click here to Skip to main content
12,694,597 members (32,898 online)
Click here to Skip to main content
Articles » Languages » Java » Beginners » Downloads


16 bookmarked

J2ME: Hello World Mobile Application

, 17 Mar 2011 CC (ASA 3U)
This is a J2ME beginner article that describes how to write your Hello World J2ME application
import javax.microedition.lcdui.*;
import javax.microedition.midlet.*;

 * @author Fadi Z. Hania
 * <a title="Fadi Hania Blog"  href="" target="_blank">Fadi Hania Blog</a>
 * Follow Me On Twitter: @fadihania

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);

    protected void pauseApp() {

    protected void destroyApp(boolean unconditional) {

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


This article, along with any associated source code and files, is licensed under The Creative Commons Attribution-Share Alike 3.0 Unported License


About the Author

Fadi Hania
Software Developer (Senior) Wateen Technologies
Palestinian Territory (Occupied) Palestinian Territory (Occupied)
A professional developer with a B.Sc. in Computer Engineering. Developing Web, Moblie and Desktop applications and interested in reading and blogging. A cofounder of Wateen Technologies an application development and hosting company.
Visit Fadi Hania Blog to read articles written by Fadi Hania, follow Fadi Hania at Twitter and become a friend with Fadi Hania on Facebook

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.170118.1 | Last Updated 17 Mar 2011
Article Copyright 2011 by Fadi Hania
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid