I used http://toedter.com/ jDateChooser
to get the date from user. But now I want to reset the selected date to the calendar from SQL database. This is the code I wrote to put selected date to database.
pst.setString(5, ((JTextField)datead.getDateEditor().getUiComponent()).getText());