📜  更改日期 JDatePicker java 代码示例

📅  最后修改于: 2022-03-11 14:52:05.944000             🧑  作者: Mango

代码示例1
//I also had the same issue. But this solved my issue
//set "setSelected(true)" after you set the date

jDatePanelImpl.getModel().setDate(getYear(utilDate),getMonth(utilDate),getDay(utilDate));
jDatePanelImpl.getModel().setSelected(true);