JDateChooser is not displaying any dates

前端 未结 2 1501
栀梦
栀梦 2021-01-26 08:43

I am using the below library JDateChooser, which is a Date Picker GUI which we can put into Netbeans pallet.

http://plugins.netbeans.org/plugin/658/jdatecho

2条回答
  •  情书的邮戳
    2021-01-26 09:07

    The problem is the width of the component, just increase that value.
    If your DateChooserCombo is called chooserDate, it must be like this:

    Dimension size = chooserDate.getCalendarPreferredSize();
    size.width += 90;
    chooserDate.setCalendarPreferredSize(size);

提交回复
热议问题