classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] Patch: JCheckBox icon initialization for basic and metal L&


From: Lillian Angel
Subject: [cp-patches] Patch: JCheckBox icon initialization for basic and metal L&F
Date: Thu, 04 Aug 2005 10:30:25 -0400

Fixed because swingDemo was not working properly for checkboxes. It was
using the checkIcon for both the icon and selectedIcon before. Now
works well!

2005-08-04  Lillian Angel  <address@hidden>

        * javax/swing/JCheckBox.java
        (init): Initialized icons. Was not working otherwise.
        * javax/swing/plaf/basic/BasicLookAndFeel.java:
        Added in checkIcon for the CheckBox.
        * javax/swing/plaf/metal/MetalLookAndFeel.java:
        Added in checkIcon for CheckBox and defaults for
        CheckBoxMenuItem.

Attachment: jcb.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]