java - How to make a model changes visible on a JDatePicker? -
after doing
date date = new date(); jdatepicker.getmodel().setvalue(date);
i'd jdatepicker
display new value in ui. tried
jdatepicker.repaint();
which doesn't have effect.
i'm using jdatepicker
2.0.0-snapshot.
jdatepicker.getmodel().setvalue(date)
works fine , correctly updates gui (i looking on wrong component). jdatepicker.repaint()
isn't necessary.
Comments
Post a Comment