Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Handling InputMasks in JFormattedText Field.

Status
Not open for further replies.

ushamirra

Programmer
Jun 27, 2003
1
IN
I am a novice programmer. I am trying to set input masks in GUI fields. I have used JFormmatedTextFields with and input verifier. It does verify the input and locks focus
when the deisred input is not there. To be user friendly the text field displays the required format.

I want the following behaviour. As the user enters the values, characters from the displayed format should be removed. Instead now these characters are pushed to the right, and the user has to delete them at the end of input.
How to achieve this?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top