CVSROOT: /cvsroot/classpath Module name: classpath Branch: Changes by: Roman Kennke <[EMAIL PROTECTED]> 06/01/25 14:48:02
Modified files: javax/swing : JSplitPane.java javax/swing/plaf/basic: BasicLookAndFeel.java BasicSplitPaneUI.java Log message: 2006-01-25 Roman Kennke <[EMAIL PROTECTED]> * javax/swing/JSplitPane.java (addImpl): Call resetToPreferredSizes() when no dividerLocation has been set in order to set an initial layout. * javax/swing/plaf/basic/BasicSplitPaneUI.java (BasicHorizontalLayoutManager.layoutContainer): Fixed error for layout of the right component. (BasicHorizontalLayoutManager.resetToPreferredSizes): Set the dividerLocation to the size of the left component. (createDefaultNonContinuousLayoutDivider): Fetch the color from the UIManager. (setDividerLocation): Don't validate the location here. Sometimes the divider needs to be set to an invalid location. (startDragging): Don't revalidate and repaint here. (finishDraggingTo): Don't repaint here. Also, don't call dragDividerTo() here. * javax/swing/plaf/basic/BasicLookAndFeel.java (initComponentDefaults): Added SplitPaneDivider.draggingColor default value. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/swing/JSplitPane.java.diff?tr1=1.11&tr2=1.12&r1=text&r2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/swing/plaf/basic/BasicLookAndFeel.java.diff?tr1=1.83&tr2=1.84&r1=text&r2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/swing/plaf/basic/BasicSplitPaneUI.java.diff?tr1=1.25&tr2=1.26&r1=text&r2=text