JAL-2154 JAL-1993 relocate show dbchooser action out of jbInit
authorJim Procter <jprocter@issues.jalview.org>
Thu, 11 Aug 2016 17:25:03 +0000 (18:25 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Thu, 11 Aug 2016 17:25:12 +0000 (18:25 +0100)
src/jalview/gui/SequenceFetcher.java

index 828a2aa..0f3e2f4 100755 (executable)
@@ -268,6 +268,7 @@ public class SequenceFetcher extends JPanel implements Runnable
     try
     {
       jbInit();
+        database.waitForInput();
     } catch (Exception ex)
     {
       ex.printStackTrace();
@@ -425,11 +426,6 @@ public class SequenceFetcher extends JPanel implements Runnable
     this.add(jPanel3, java.awt.BorderLayout.CENTER);
     this.add(jPanel2, java.awt.BorderLayout.NORTH);
     jScrollPane1.getViewport().add(textArea);
-
-    /*
-     * open the database tree
-     */
-    database.waitForInput();
   }
 
   private void pdbSourceAction()