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
If you enjoyed this post then why not add us on Google+? Add us to your Circles
Liked it! Share this Tutorial
Discuss: Appending string in J2ME Form
Post your Comment