• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JDK 1.1 DatePicker

 
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
Ranch Hand
Posts: 2823
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


Any help would be appreciated!


Unless they point out the obvious
 
reply
    Bookmark Topic Watch Topic
  • New Topic