1 |
|
2005-10-27 Roman Kennke <kennke@aicas.com> |
2 |
|
|
3 |
|
* javax/swing/plaf/basic/BasicScrollBarUI.java |
4 |
|
(PropertyChangeHandler.propertyChange): If orientation property |
5 |
|
changes, re-setup the UI. |
6 |
|
(TrackListener.mouseReleased): Removed unused code. |
7 |
|
(createIncreaseButton): Simply return a new instance without any |
8 |
|
hacks. |
9 |
|
(createDecreaseButton): Likewise. |
10 |
|
(installComponents): Do not create the incrButton and decrButton |
11 |
|
here, only install them on the ScrollBar. |
12 |
|
(installDefaults): Also initialize the incrButton and decrButton |
13 |
|
fields here. |
14 |
|
(uninstallComponents): Added some null checks. |
15 |
|
(uninstallDefaults): Uninstall border using the LookAndFeel utility |
16 |
|
method. Set incrButton and decrButton to null here. |
17 |
|
(uninstallListeners): Added null checks. |
18 |
|
(uninstallUI): Changed order of method calls. First uninstall |
19 |
|
listeners then uninstallDefaults, because uninstallDefaults sets |
20 |
|
the incrButton and decrButton fields to null, and uninstallListeners |
21 |
|
removes a listener from them. Avoids NPE. |
22 |
|
|
23 |
2005-10-27 David Gilbert <david.gilbert@object-refinery.com> |
2005-10-27 David Gilbert <david.gilbert@object-refinery.com> |
24 |
|
|
25 |
* javax/swing/plaf/metal/MetalBorders.java: API doc updates, |
* javax/swing/plaf/metal/MetalBorders.java: API doc updates, |