Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JXDatePicker Issue

 
Saket Barve
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic