JAL-3725 restrict mapped virtual feature location to mapped region
[jalview.git] / src / jalview / io / JalviewFileChooser.java
index 95f4c94..88a20e7 100755 (executable)
@@ -221,6 +221,11 @@ public class JalviewFileChooser extends JFileChooser implements DialogRunnerI,
     int value = super.showOpenDialog(this);
     
     if (!Platform.isJS())
+    /**
+     * Java only
+     * 
+     * @j2sIgnore
+     */
     {
       /*
        * code here is not run in JalviewJS, instead
@@ -541,7 +546,7 @@ public class JalviewFileChooser extends JFileChooser implements DialogRunnerI,
       list = new JList<>(recent);
   
       DefaultListCellRenderer dlcr = new DefaultListCellRenderer();
-//      dlcr.setHorizontalAlignment(DefaultListCellRenderer.RIGHT);
+      dlcr.setHorizontalAlignment(DefaultListCellRenderer.RIGHT);
       list.setCellRenderer(dlcr);
 
       list.addMouseListener(new MouseAdapter()