[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commit-cp] classpath/javax/swing JTabbedPane.java plaf/bas...
From: |
Roman Kennke |
Subject: |
[commit-cp] classpath/javax/swing JTabbedPane.java plaf/bas... |
Date: |
Fri, 09 Jun 2006 23:34:35 +0000 |
CVSROOT: /cvsroot/classpath
Module name: classpath
Changes by: Roman Kennke <rabbit78> 06/06/09 23:34:34
Modified files:
javax/swing : JTabbedPane.java
javax/swing/plaf/basic: BasicTabbedPaneUI.java
. : ChangeLog
Log message:
2006-06-09 Roman Kennke <address@hidden>
* javax/swing/JTabbedPane.java
(setSelectedIndex): Don't change the visibility of the
components,
this is done by the UI class.
* javax/swing/plaf/basic/BasicTabbedPaneUI.java
(TabbedPaneLayout.layoutContainer): Change visibility of
component
here, depending on the selected index. Only do this if the new
selected component is not null. Some programs seem to expect
this.
(visibleComponent): New field.
(getVisibleComponent): Changed to return visibleComponent field.
(setVisibleComponent): Changed to set the visibility of
the old and new visible component.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/JTabbedPane.java?cvsroot=classpath&r1=1.40&r2=1.41
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/plaf/basic/BasicTabbedPaneUI.java?cvsroot=classpath&r1=1.45&r2=1.46
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.7750&r2=1.7751
Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/classpath/classpath/ChangeLog,v
retrieving revision 1.7750
retrieving revision 1.7751
diff -u -b -r1.7750 -r1.7751
--- ChangeLog 9 Jun 2006 23:27:59 -0000 1.7750
+++ ChangeLog 9 Jun 2006 23:34:34 -0000 1.7751
@@ -1,5 +1,20 @@
2006-06-09 Roman Kennke <address@hidden>
+ * javax/swing/JTabbedPane.java
+ (setSelectedIndex): Don't change the visibility of the components,
+ this is done by the UI class.
+ * javax/swing/plaf/basic/BasicTabbedPaneUI.java
+ (TabbedPaneLayout.layoutContainer): Change visibility of component
+ here, depending on the selected index. Only do this if the new
+ selected component is not null. Some programs seem to expect
+ this.
+ (visibleComponent): New field.
+ (getVisibleComponent): Changed to return visibleComponent field.
+ (setVisibleComponent): Changed to set the visibility of
+ the old and new visible component.
+
+2006-06-09 Roman Kennke <address@hidden>
+
* javax/swing/JComponent.java
(paintChildrenOptimized): Paint component with a new Graphics
object to protect the other painting code from modifications
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [commit-cp] classpath/javax/swing JTabbedPane.java plaf/bas...,
Roman Kennke <=