Gene Santomartino
Gene Santomartino

Reputation: 11

Codename One Textfield Password Constraint

I am adding a field final TextField Password = new TextField("", "Password", 20, TextField.PASSWORD);

When the user types the password you can see all the letters until the user TAB's off the field. I would like to see Asterisks while the user is typing, i.e. hide each letter or like some applications it lets you see the letter until you type the next letter.

How can I accomplish this?

Upvotes: 0

Views: 1204

Answers (1)

Chen
Chen

Reputation: 3760

This is just the Codename One simulator behavior, on devices this should behave as expected

Upvotes: 1

Related Questions