//new labelfield with no default text
LabelField lf = new LabelField();
lf.setText("Hello World!");
add(lf);
LabelField lf = new LabelField();
lf.setText("Hello World!");
add(lf);
//new labelfield with default text
LabelField lf2 = new LabelField("Hello World!");
add(lf2);
LabelField lf2 = new LabelField("Hello World!");
add(lf2);
Download Project Source
No comments:
Post a Comment