[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug swing/29325] wrong window layout involving a jogl 3D widget
From: |
cvs-commit at developer dot classpath dot org |
Subject: |
[Bug swing/29325] wrong window layout involving a jogl 3D widget |
Date: |
9 Oct 2006 13:52:11 -0000 |
------- Comment #3 from cvs-commit at developer dot classpath dot org
2006-10-09 13:52 -------
Subject: Bug 29325
CVSROOT: /cvsroot/classpath
Module name: classpath
Changes by: Roman Kennke <rabbit78> 06/10/09 13:51:45
Modified files:
javax/swing : JSplitPane.java
javax/swing/plaf/basic: BasicSplitPaneUI.java
. : ChangeLog
Log message:
2006-10-09 Roman Kennke <address@hidden>
PR 29325
* javax/swing/JSplitPane.java
(dividerLocation): New field. Stores the divider location.
(JSplitPane): Initialize dividerLocation with -1.
(addImpl): Removed unneeded local variables.
(getDividerLocation): Manage dividerLocation in the JSplitPane
class, not in the UI.
(setDividerLocation): Manage dividerLocation in the JSplitPane
class, not in the UI. Only call the UI method for notification.
* javax/swing/plaf/basic/BasicSplitPaneUI.java
(BasicHorizontalLayoutManager.layoutContainer): Fetch divider
location from the JSplitPane. Honour the minimumSize, but only
if the divider location hasn't been set explicitly.
(BasicHorizontalLayoutManager.minimumLayoutSize): Removed
unneeded
statement.
(BasicHorizontalLayoutManager.preferredLayoutSize): Removed
unneeded
statement.
(BasicHorizontalLayoutManager.resetToPreferredSizes): Don't
touch
the divider location.
(dividerLocationSet): New field.
(dividerLocation): Removed field.
(createActionMap): Fetch and set divider location on the
JSplitPane.
(getDividerLocation): Return the actual real divider location.
(getMaximumSize): Removed unneeded cast.
(getPreferredSize): Removed unneeded cast.
(getMinimumSize): Removed unneeded cast.
(installUI): Initialize dividerLocationSet with false.
(uninstallUI): Initialize dividerLocationSet with false.
(setDividerLocation): Set dividerLocationSet to true.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/JSplitPane.java?cvsroot=classpath&r1=1.19&r2=1.20
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/plaf/basic/BasicSplitPaneUI.java?cvsroot=classpath&r1=1.33&r2=1.34
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.8655&r2=1.8656
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29325