• Post Reply Bookmark Topic Watch Topic
  • New Topic

JxDatePicker issues  RSS feed

 
santhosh saj
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to include JXDatepicker in a java swing platform. During the page loading, I want to show the Jxdatepicker value as current date.
But afterwards I want to set the value to a variable to insert in a sql database.
How can I achieve this with a minimum code?
any body can forward a link or sample code for this?
 
Tim Moores
Saloon Keeper
Posts: 4032
94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure what the "minimum code" requirement is supposed to achieve, but setting the date is one line of code via the setDate method. So in this case it would be two lines of code. That seems just about the reasonable minimum one could expect.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!