use of com.codename1.ui.TextComponentPassword in project CodenameOne by codenameone.
the class TestTextComponentPassword2976 method start.
public void start() {
if (current != null) {
current.show();
return;
}
TextModeLayout tl = new TextModeLayout(2, 1);
Form f = new Form("Pixel Perfect", tl);
TextComponent user = new TextComponent();
TextComponentPassword pass = new TextComponentPassword();
f.addAll(user, pass);
f.show();
}
Aggregations