JAL-2344 override to ignore (obsolete?) JalviewFileView
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Fri, 25 Nov 2016 09:43:04 +0000 (09:43 +0000)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Fri, 25 Nov 2016 09:43:04 +0000 (09:43 +0000)
src/jalview/io/JalviewFileChooser.java

index e4317bd..079cc09 100755 (executable)
@@ -44,6 +44,7 @@ import javax.swing.JOptionPane;
 import javax.swing.JPanel;
 import javax.swing.JScrollPane;
 import javax.swing.SpringLayout;
+import javax.swing.filechooser.FileView;
 import javax.swing.plaf.basic.BasicFileChooserUI;
 
 /**
@@ -398,4 +399,10 @@ public class JalviewFileChooser extends JFileChooser
     }
 
   }
+
+  @Override
+  public void setFileView(FileView fileView)
+  {
+    // do nothing - does it matter?
+  }
 }