From: Jim Procter Date: Thu, 11 Aug 2016 17:25:03 +0000 (+0100) Subject: JAL-2154 JAL-1993 relocate show dbchooser action out of jbInit X-Git-Tag: Release_2_10_0~47^2~4^2~43^2~53 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=0305216f7e9413a20bcca8acba1c8cece34d2cf4;p=jalview.git JAL-2154 JAL-1993 relocate show dbchooser action out of jbInit --- diff --git a/src/jalview/gui/SequenceFetcher.java b/src/jalview/gui/SequenceFetcher.java index 828a2aa..0f3e2f4 100755 --- a/src/jalview/gui/SequenceFetcher.java +++ b/src/jalview/gui/SequenceFetcher.java @@ -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()