JDateChooser is not displaying any dates

前端 未结 2 1462
栀梦
栀梦 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();<br>
    size.width += 90;<br>
    chooserDate.setCalendarPreferredSize(size);<br>
    
    0 讨论(0)
  • 2021-01-26 09:09

    JDateChooser from vadimig doesn't seem to work with Nimbus, seems to work okay for Windows look and feel, you'd have to test it with the other system looks feels.

    Either change the component you are using or change the look and feel you are using

    0 讨论(0)
提交回复
热议问题