change date jdatepicker java

Solutions on MaxInterview for change date jdatepicker java by the best coders in the world

showing results for - "change date jdatepicker java"
Riccardo
31 Feb 2016
1//I also had the same issue. But this solved my issue
2//set "setSelected(true)" after you set the date
3
4jDatePanelImpl.getModel().setDate(getYear(utilDate),getMonth(utilDate),getDay(utilDate));
5jDatePanelImpl.getModel().setSelected(true);