This week's book giveaway is in the Security forum.
We're giving away four copies of Penetration Testing Basics and have Ric Messier on-line!
See this thread for details.
Win a copy of Penetration Testing Basics this week in the Security forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Stuck on how to use FormattedFields in java for inserting dates

Jean Gray
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I know the below code is supposed to format the FormattedTextField but it doesn't seem to do anything to the form (shown in the picture below). I was wanting, when the form loaded: the text field to look something like this

00/00/2014 - 00:00 am

Where the user is able to

- enter datelike information around the symbol separators ( / or : )

- But where the user could not remove these symbol separators

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic