In the previous example, you learned about how to add items in to the form. In this example we are going to add string into the form. Both examples are almost same but the only difference is that this time we are using append string instead of append item.
Syntax for appending string into the form..
public int append(String str)
The Midlet will look like as follow..

Source Code of AppendString.java
import javax.microedition.lcdui.*;
|
|
Recommend the tutorial |
Ask Questions? Discuss: Appending string in J2ME Form
Post your Comment