From de58b31ef55eab68049d502bd231f21ce2db3b18 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Thu, 11 May 2006 15:07:21 +0000 Subject: [PATCH] Slight mod url chooser for Mac users --- src/jalview/gui/Desktop.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/jalview/gui/Desktop.java b/src/jalview/gui/Desktop.java index fdb19d5..83fc065 100755 --- a/src/jalview/gui/Desktop.java +++ b/src/jalview/gui/Desktop.java @@ -397,9 +397,10 @@ public class Desktop extends jalview.jbgui.GDesktop // for viewing JLabel label = new JLabel("Enter URL of Input File"); final JComboBox history = new JComboBox(); - JPanel panel = new JPanel(new BorderLayout()); - panel.add(label, BorderLayout.NORTH); - panel.add(history, BorderLayout.CENTER); + + JPanel panel = new JPanel(new GridLayout(2,1)); + panel.add(label); + panel.add(history); history.setPreferredSize(new Dimension(400,20)); history.setEditable(true); history.addItem("http://www."); -- 1.7.10.2