summaryrefslogtreecommitdiff
path: root/org
diff options
context:
space:
mode:
authorRoman Kennke <roman@kennke.org>2005-10-27 12:42:16 +0000
committerRoman Kennke <roman@kennke.org>2005-10-27 12:42:16 +0000
commit884c7f5a5d6931ec4156e903cfcfb5f7e8961e24 (patch)
treedc6941204cb83a73e836b20c0adffdd44033bedc /org
parente39d4b9edfb990e9bee5a3f5c12711d28e3be300 (diff)
downloadclasspath-884c7f5a5d6931ec4156e903cfcfb5f7e8961e24.tar.gz
2005-10-27 Roman Kennke <kennke@aicas.com>
* 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.
Diffstat (limited to 'org')
0 files changed, 0 insertions, 0 deletions