Saturday, May 14, 2011

Blackberry LabelField Example

How to use Blackberry LabelField.

 //new labelfield with no default text
 LabelField lf = new LabelField();
 lf.setText("Hello World!");
 add(lf);

 //new labelfield with default text
 LabelField lf2 = new LabelField("Hello World!");
 add(lf2);

Download Project Source

No comments:

Post a Comment