JAL-3144 left aligned looks better (and works in JalviewJS!)
[jalview.git] / src / jalview / gui / SequenceFetcher.java
index f9d7760..51be630 100755 (executable)
@@ -187,13 +187,13 @@ public class SequenceFetcher extends JPanel implements Runnable
 
         if ("pdb".equalsIgnoreCase(currentSelection))
         {
-          new PDBFTSPanel(SequenceFetcher.this);
           frame.dispose();
+          new PDBFTSPanel(SequenceFetcher.this);
         }
         else if ("uniprot".equalsIgnoreCase(currentSelection))
         {
-          new UniprotFTSPanel(SequenceFetcher.this);
           frame.dispose();
+          new UniprotFTSPanel(SequenceFetcher.this);
         }
         else
         {
@@ -207,11 +207,11 @@ public class SequenceFetcher extends JPanel implements Runnable
     JLabel jLabel1 = new JLabel(MessageManager
             .getString("label.separate_multiple_accession_ids"));
     jLabel1.setFont(new Font("Verdana", Font.ITALIC, 11));
-    jLabel1.setHorizontalAlignment(SwingConstants.CENTER);
+    jLabel1.setHorizontalAlignment(SwingConstants.LEFT);
 
     replacePunctuation = new JCheckBox(
             MessageManager.getString("label.replace_commas_semicolons"));
-    replacePunctuation.setHorizontalAlignment(SwingConstants.CENTER);
+    replacePunctuation.setHorizontalAlignment(SwingConstants.LEFT);
     replacePunctuation.setFont(new Font("Verdana", Font.ITALIC, 11));
     okBtn = new JButton(MessageManager.getString("action.ok"));
     okBtn.addActionListener(new ActionListener()