Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

textfield masking

 
payal sharma
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic