harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apetre...@apache.org
Subject svn commit: r495899 - in /harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing: JTree.java plaf/metal/MetalScrollBarUI.java
Date Sat, 13 Jan 2007 14:15:49 GMT
Author: apetrenko
Date: Sat Jan 13 06:15:48 2007
New Revision: 495899

URL: http://svn.apache.org/viewvc?view=rev&rev=495899
Log:
Patch for HARMONY-2998 "[swing] field javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode.accessibleParent
is redundant"

Modified:
    harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/JTree.java
    harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/plaf/metal/MetalScrollBarUI.java

Modified: harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/JTree.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/JTree.java?view=diff&rev=495899&r1=495898&r2=495899
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/JTree.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/JTree.java
Sat Jan 13 06:15:48 2007
@@ -93,6 +93,9 @@
 
         protected class AccessibleJTreeNode extends AccessibleContext implements Accessible,
                 AccessibleComponent, AccessibleSelection, AccessibleAction {
+                
+            private Accessible accessibleParent;
+            
             public AccessibleJTreeNode(JTree t, TreePath p, Accessible ap)
                     throws NotImplementedException {
                 throw new NotImplementedException();

Modified: harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/plaf/metal/MetalScrollBarUI.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/plaf/metal/MetalScrollBarUI.java?view=diff&rev=495899&r1=495898&r2=495899
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/plaf/metal/MetalScrollBarUI.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/plaf/metal/MetalScrollBarUI.java
Sat Jan 13 06:15:48 2007
@@ -49,6 +49,10 @@
     protected MetalScrollButton decreaseButton;
     protected int scrollBarWidth;
     protected boolean isFreeStanding;
+    
+    // We need to hide these fields
+    private Color thumbColor;
+    private Color thumbHighlightColor;
 
     protected void paintTrack(final Graphics g, final JComponent c, final Rectangle r) {
         Color old = g.getColor();



Mime
View raw message