harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apetre...@apache.org
Subject svn commit: r601633 - in /harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/plaf/basic: BasicTableHeaderUI.java BasicTableUI.java
Date Thu, 06 Dec 2007 07:07:45 GMT
Author: apetrenko
Date: Wed Dec  5 23:07:44 2007
New Revision: 601633

URL: http://svn.apache.org/viewvc?rev=601633&view=rev
Log:
Patch for HARMONY-4800 "[classlib][swing] Inconsistent rendererPane 
handling in installUI()"

Modified:
    harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/plaf/basic/BasicTableHeaderUI.java
    harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/plaf/basic/BasicTableUI.java

Modified: harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/plaf/basic/BasicTableHeaderUI.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/plaf/basic/BasicTableHeaderUI.java?rev=601633&r1=601632&r2=601633&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/plaf/basic/BasicTableHeaderUI.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/plaf/basic/BasicTableHeaderUI.java
Wed Dec  5 23:07:44 2007
@@ -266,6 +266,8 @@
     public void installUI(final JComponent c) {
         header = (JTableHeader)c;
         rendererPane = new CellRendererPane();
+        rendererPane.setVisible(false);
+        header.add(rendererPane);
 
         installDefaults();
         installListeners();

Modified: harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/plaf/basic/BasicTableUI.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/plaf/basic/BasicTableUI.java?rev=601633&r1=601632&r2=601633&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/plaf/basic/BasicTableUI.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/plaf/basic/BasicTableUI.java
Wed Dec  5 23:07:44 2007
@@ -296,6 +296,8 @@
     public void installUI(final JComponent c) {
         table = (JTable)c;
         rendererPane = new CellRendererPane();
+        rendererPane.setVisible(false);
+        table.add(rendererPane);
 
         installDefaults();
         installListeners();



Mime
View raw message