• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to make JFormattedTextField to show the enforced format when user is entering the content..

 
raminaa niilian
Ranch Hand
Posts: 551
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Thank you for reading my post.
how I can make a JFormattedTextField to show the enforced mask and format when user wants to ente the input data.
assume that I defined yyyy/MM/dd as the mask but I want the JFormattedTextField to show something like ____/__/__ for the users so they know what to enter into the box and be guided during the text input.

 
Michael Dunn
Ranch Hand
Posts: 4632
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!