Menu

#4 Format Date

open
nobody
None
5
2005-07-20
2005-07-20
No

We can enter text In the DatePickerCombo. This is very
useful because some users want to enter text rather
than pick a date.

But users can enter anything (even text ! ;-) )
So I add some code to reformat text to date and to
reset to the previous date when the text entered is not
a date.

I also add a line to reset to the previous date when
the user press Esc.

All the code I add is mark by the //LD comment.

Discussion

  • Laurent Dutheil

    Laurent Dutheil - 2005-07-20

    DatePickerCombo.java

     
  • Seb

    Seb - 2005-08-15

    Logged In: YES
    user_id=341856

    Thanks! Added to CVS

    Seb

     

Log in to post a comment.