Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

New Contributor
Posts: 2
Registered: ‎02-23-2012
My Device: 9300
My Carrier: twe

PasswordEditField label is replaced by asterisk

Hi All,

I have a problem with PasswordEditField   on the device and simulator BB9900 OS7 (on the other devises works correctly 9800,9300,9700).

The problem is that after the introduction of 6 characters, the label is replaced by an asterisk.


 PasswordEditField pin  = new PasswordEditField("Pin: ", null, 6, EditField.FILTER_NUMERIC|FIELD_VCENTER){
			protected void paint(Graphics g) {



But if I change maxNumChars to 7 or other digit the issue not reproduced, I also noticed if change the number of characters in label to 6 or 4 ("Pin: " to " Pin: ")the issue not reproduced.


entered 5 characters:


entered 6 characters:


I appreciate any ideas. Is it known issue? Did anybody faced it?

Or did anybody met discussion of this issue?

Posts: 17,023
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: PasswordEditField label is replaced by asterisk

sounds like a bug to me.
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter