This is the simple hello world application. In this example we are creating a form name "Hello World" and creating a string message "Hello World!!!!!!!" as below:
Form form = new Form("Hello World");
String msg = "Hello World!!!!!!!";
In this application, To display the message we are using append method with the form as below:
form.append(msg);
The Application is as follows:

HelloWorld.java
import javax.microedition.lcdui.*;
|
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.
Ask Questions? Discuss: J2ME Hello World Example View All Comments
Post your Comment