The filechooser file list scrollpane really shouldn't need a scrollbar policy set. At least in Sun's impl it doesn't have one set. This patch fixes this. However, this will cause a slight visual regression. The fix for this is to implement a subclass of JList for the file list. I will do this soon, when I find some time.
2006-01-27 Roman Kennke <[EMAIL PROTECTED]> * javax/swing/plaf/metal/MetalFileChooserUI.java (createList): Don't set scrollbar policy. /Roman
Index: javax/swing/plaf/metal/MetalFileChooserUI.java =================================================================== RCS file: /cvsroot/classpath/classpath/javax/swing/plaf/metal/MetalFileChooserUI.java,v retrieving revision 1.20 diff -u -r1.20 MetalFileChooserUI.java --- javax/swing/plaf/metal/MetalFileChooserUI.java 13 Jan 2006 06:03:29 -0000 1.20 +++ javax/swing/plaf/metal/MetalFileChooserUI.java 27 Jan 2006 10:38:41 -0000 @@ -1545,8 +1545,6 @@ fileListPanel = new JPanel(new BorderLayout()); fileList = new JList(getModel()); scrollPane = new JScrollPane(fileList); - scrollPane.setVerticalScrollBarPolicy - (JScrollPane.VERTICAL_SCROLLBAR_NEVER); fileList.setLayoutOrientation(JList.VERTICAL_WRAP); fileList.setCellRenderer(new FileRenderer()); }