This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JDK 1.1 DatePicker  RSS feed

 
Brett Swift
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Unfortunately, I am using VisualAge for Java 2.0, so I am forced to use an OLD version of java. (com.sun.java.swing, not com.sun.javax.swing).
Instead of writing a huge program to validate that someone has entered the date in the correct format (for MySQL 'date' type ) which is 'YYYY-MM-DD' I would like to figure out if there is a way to use a mask for the textfield... even code that.
OR EVEN BETTER!!!
If anyone knows of a free DatePicker app for the old JDK. I found a couple, one looks awesome, and it is freeware.. it is called JCalendar, it is at this site www.toedter.com. That is what I am looking for, but for an older version of the JDK (that one doesn't work!) Any help would be appreciated! thanks!
 
Paul Stevens
Ranch Hand
Posts: 2823
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why is it that you "Have" to use Visual Age 2.0? There are free IDE's and free editors.
Why do you think it would take a huge program to verify that what was typed into a textfield is a valid date?
Look at SimpleDateFormat and the parse method.
 
Brett Swift
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thing is, I want to make it easier on the user. I like VAJ. I've looked at Eclipse, and JBuilder, but neither have as good of a development environment.... as well...my application is almost finished! Validating isn't my issue...its the UI that I want to change.
ps. I really hate it when people redirect me to the very basics of my problem... I obviously have thought of using something that uses a more recent version of the JDK... thats why i posted my question with the title JDK 1.1 !!!
thanks for puttin in your effort.
 
Paul Stevens
Ranch Hand
Posts: 2823
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Any help would be appreciated!

Unless they point out the obvious
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!