[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commit-cp] classpath javax/swing/plaf/basic/BasicScrollBar...
From: |
Roman Kennke |
Subject: |
[commit-cp] classpath javax/swing/plaf/basic/BasicScrollBar... |
Date: |
Thu, 27 Oct 2005 08:42:18 -0400 |
CVSROOT: /cvsroot/classpath
Module name: classpath
Branch:
Changes by: Roman Kennke <address@hidden> 05/10/27 12:42:17
Modified files:
javax/swing/plaf/basic: BasicScrollBarUI.java
. : ChangeLog
Log message:
2005-10-27 Roman Kennke <address@hidden>
* javax/swing/plaf/basic/BasicScrollBarUI.java
(PropertyChangeHandler.propertyChange): If orientation property
changes, re-setup the UI.
(TrackListener.mouseReleased): Removed unused code.
(createIncreaseButton): Simply return a new instance without any
hacks.
(createDecreaseButton): Likewise.
(installComponents): Do not create the incrButton and decrButton
here, only install them on the ScrollBar.
(installDefaults): Also initialize the incrButton and decrButton
fields here.
(uninstallComponents): Added some null checks.
(uninstallDefaults): Uninstall border using the LookAndFeel utility
method. Set incrButton and decrButton to null here.
(uninstallListeners): Added null checks.
(uninstallUI): Changed order of method calls. First uninstall
listeners then uninstallDefaults, because uninstallDefaults sets
the incrButton and decrButton fields to null, and uninstallListeners
removes a listener from them. Avoids NPE.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/plaf/basic/BasicScrollBarUI.java.diff?tr1=1.28&tr2=1.29&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.5366&tr2=1.5367&r1=text&r2=text
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [commit-cp] classpath javax/swing/plaf/basic/BasicScrollBar...,
Roman Kennke <=