1 |
2005-07-21 Roman Kennke <roman@kennke.org> |
2005-07-21 Roman Kennke <roman@kennke.org> |
2 |
|
|
3 |
|
* javax/swing/AbstractButton.java |
4 |
|
(init): Only set icon if the supplied icon is not null. Otherwise |
5 |
|
we would override icons that are possibly set by the UI. |
6 |
|
* javax/swing/plaf/basic/BasicIconFactory.java |
7 |
|
(CheckBoxIcon): An new Icon implementation used for CheckBoxes |
8 |
|
in the Basic L&F. |
9 |
|
(RadioButtonIcon): An new Icon implementation used for |
10 |
|
RadioButtons in the Basic L&F. |
11 |
|
(getCheckBoxIcon): Now returns a (cached) instance of CheckBoxIcon |
12 |
|
instead of the (wrong) inner icon implementation. |
13 |
|
(getRadioButtonIcon): Now returns a (cached) instance of |
14 |
|
RadioButtonIcon instead of the (wrong) inner icon implementation. |
15 |
|
* javax/swing/plaf/basic/BasicLookAndFeel.java |
16 |
|
(initComponentDefaults): Registered new icons for CheckBox and |
17 |
|
RadioButton, using a LazyValue entry. |
18 |
|
* javax/swing/plaf/basic/BasicRadioButtonUI.java |
19 |
|
Added API documentation all over. |
20 |
|
(installUI): Removed this method. |
21 |
|
(installDefaults): New method. Installs the default icons if there |
22 |
|
is no other icon set. |
23 |
|
(getPropertyPrefix): New method. Returns the prefix that is used |
24 |
|
to look up UIDefault entries. |
25 |
|
(getDefaultIcon): Use propertyPrefix instead of hardcoded property. |
26 |
|
(paint): New method. Override paint for customized painting |
27 |
|
of RadioButtons. |
28 |
|
* javax/swing/plaf/metal/MetalCheckBoxIcon.java |
29 |
|
(drawCheck): Respect the x and y parameter. |
30 |
|
* javax/swing/plaf/metal/MetalIconFactory.java |
31 |
|
(RadioButtonIcon): An Icon implementation for Metal RadioButtons. |
32 |
|
(getRadioButtonIcon): New method. Returns a shared instance of |
33 |
|
RadioButtonIcon. |
34 |
|
* javax/swing/plaf/metal/MetalLookAndFeel.java |
35 |
|
(initComponentDefaults): Register new icons for CheckBox and |
36 |
|
RadioButton using a LazyValue entry. |
37 |
|
|
38 |
|
2005-07-21 Roman Kennke <roman@kennke.org> |
39 |
|
|
40 |
* javax/swing/JOptionPane.java |
* javax/swing/JOptionPane.java |
41 |
(createInternalFrame): Look for a JDesktopPane first, then |
(createInternalFrame): Look for a JDesktopPane first, then |
42 |
look for a JLayeredPane as fallback. Set this JOptionPane as |
look for a JLayeredPane as fallback. Set this JOptionPane as |