JAL-4026 if relative path in recently opened exists from PWD, use it.
[jalview.git] / src / jalview / io / JalviewFileChooser.java
index fe01a69..1a4326c 100755 (executable)
@@ -548,6 +548,11 @@ public class JalviewFileChooser extends JFileChooser
         }
       }
 
+      if (!file.isAbsolute() && file.exists())
+      {
+        file = file.getAbsoluteFile();
+      }
+
       setSelectedFile(file);
     }
   }