This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes textfield masking Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "textfield masking" Watch "textfield masking" New topic

textfield masking

payal sharma
Ranch Hand

Joined: Oct 04, 2000
Posts: 57
THanks you had solved my big problem.Thanks again.

I want to ask java gurus how can I mask a text box ---> suppose I have to type date as 10:10:23PM (hours/minutes/seconds).Could it be possible that __:__:__ is wrtten over there and as the programmer writes in the text box he jump to next letter automatically.As I have to write 10:10:23 PM so as I write "10" my cursor moves to next letter "1" rather that to colon.

Another Question is
How could I change the color of Jlabel on my form.As suppose while processing form an error occurs and then only those fields in which error occurs appear with text color on label changes

How can I show tooltip text or as the mouse reaches to a particular textfield it could show a small text as how one should fill the box.

payal sharma
I agree. Here's the link:
subject: textfield masking
jQuery in Action, 3rd edition