permaculture playing cards*
The moose likes Other JSE/JEE APIs and the fly likes JXDatePicker Issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "JXDatePicker Issue" Watch "JXDatePicker Issue" New topic
Author

JXDatePicker Issue

Saket Barve
Ranch Hand

Joined: Dec 19, 2002
Posts: 229
Hello,

I have a datepicker, which is being used in a JTextField as well as inside table cell editor.

The JTextField formats the selected date appropriately (mm/dd/yyyy format) but the table cell editor does not do this, always defaulting the format something like: Tue, Feb 16, 2006

My table cell editor is defined thus:



and I attach it to the table cell in the following manner:



Can someone tell me what I am missing out on?

Thanks,
Saket
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JXDatePicker Issue
 
Similar Threads
formatting challenge using JSpinner
Date in a JTable and a JTextField in "DD/MM/YYYY" format
enabling and disabling single cell in JTable
JTable date edit problem
JXDatePicker