harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apetre...@apache.org
Subject svn commit: r570751 - /harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/plaf/metal/MetalFileChooserUI.java
Date Wed, 29 Aug 2007 11:04:59 GMT
Author: apetrenko
Date: Wed Aug 29 04:04:39 2007
New Revision: 570751

URL: http://svn.apache.org/viewvc?rev=570751&view=rev
Log:
Patch for HARMONY-4684 "[classlib][swing] JFileChooser detailed view doesn't have scrollbar"

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

Modified: harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/plaf/metal/MetalFileChooserUI.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/plaf/metal/MetalFileChooserUI.java?rev=570751&r1=570750&r2=570751&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/plaf/metal/MetalFileChooserUI.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/plaf/metal/MetalFileChooserUI.java
Wed Aug 29 04:04:39 2007
@@ -849,8 +849,8 @@
                         fileNameField.setText(fileToText(getFileChooser().getCurrentDirectory()));
                     }
                 } else if (JFileChooser.ACCESSORY_CHANGED_PROPERTY.equals(changedProperty))
{
-		    final JComponent old = (JComponent) event.getOldValue();
-                    		    
+                    final JComponent old = (JComponent) event.getOldValue();
+                                    
                     if (old != null) {
                         getAccessoryPanel().remove(old);
                     }
@@ -1123,10 +1123,6 @@
                 }
 
                 super.processKeyEvent(event);
-            }
-            
-            public boolean getScrollableTracksViewportHeight() {
-                return true;
             }
         };
         table.setShowGrid(false);



Mime
View raw message