I have used
this.passwordTextField = new TextField( "", "", 30, TextField.PASSWORD | TextField.DECIMAL);
to get the numeric value password field. but it still takes "#" as an entry and show "." for that at output. but I only need numbers. I also used
UiAccess.setInputMode( this.passwordTextField, UiAccess.MODE_NUMBERS);
how should i do that?