[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commit-cp] classpath/javax/swing JSplitPane.java plaf/basi...
From: |
Anthony Balkissoon |
Subject: |
[commit-cp] classpath/javax/swing JSplitPane.java plaf/basi... |
Date: |
Wed, 16 Nov 2005 16:48:24 -0500 |
CVSROOT: /cvsroot/classpath
Module name: classpath
Branch:
Changes by: Anthony Balkissoon <address@hidden> 05/11/16 21:48:24
Modified files:
javax/swing : JSplitPane.java
javax/swing/plaf/basic: BasicSplitPaneUI.java
Log message:
2005-11-16 Anthony Balkissoon <address@hidden>
* javax/swing/JSplitPane.java:
(JSplitPane<init>): This is a "demo" constructor, should create two
new JButtons, one with label "left button" and the other with label
"right button."
(setLeftComponent): Do not create JButtons here. A null argument is
taken to mean remove the current component.
(setRightComponent): Likewise.
* javax/swing/plaf/basic/BasicSplitPaneUI:
(setDividerLocation): Check that right component is not null before
trying to get its preferred size.
(startDragging): Avoid NPE by checking that left and right components
are not null.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/JSplitPane.java.diff?tr1=1.8&tr2=1.9&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/plaf/basic/BasicSplitPaneUI.java.diff?tr1=1.21&tr2=1.22&r1=text&r2=text
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [commit-cp] classpath/javax/swing JSplitPane.java plaf/basi...,
Anthony Balkissoon <=