Donate Share

JDateChooser

Subscribe

Problem with Nimbus LAF

  1. nobody

    2009-10-23 16:27:26 UTC

    When using Nimbus Look and Feel, and the default calendar size, the day numbers are not shown. Instead you see "..." maybe because of the margins of the buttons. Is there any way of accessing the buttons? I'm lost in: dateChooserCombo1.getAppearancesList().getCurrent()... but I might be in the wrong way. Thanks in advance, Charly

  2. 2009-10-24 10:22:31 UTC

    I don't think button margins can help. Try to decrease font size. But here is the way to access the buttons (be careful, valid only for swing appearance). Actually there is only one button for each style<br> Use also getUsual, getDisabled, getScroll, getDisabled for other styles<br>

    SwingCellAppearance appear = (SwingCellAppearance)bean.getCurrentView().getCurrent().getNow();
    ButtonPainter painter = (ButtonPainter)appear.getPainter();
    JButton button = painter.getButton();
    
< Previous | 1 | Next >

Add a Reply

You can use Markdown syntax in your reply.

Preview

Monitor this

Log in to monitor this topic. Not registered? Create an account to receive email updates when replies are posted to this topic. If you do not log in or register, your reply will be added anonymously.