From: amwaterhouse Date: Tue, 14 Jun 2005 10:44:14 +0000 (+0000) Subject: Double click to launch file browser X-Git-Tag: Release_2_0~52 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=c954e7c8d0953fee214bf897608410a1bc41ec13;p=jalview.git Double click to launch file browser --- diff --git a/src/jalview/jbgui/GPreferences.java b/src/jalview/jbgui/GPreferences.java index 2ab6edd..04ac596 100755 --- a/src/jalview/jbgui/GPreferences.java +++ b/src/jalview/jbgui/GPreferences.java @@ -159,6 +159,7 @@ public class GPreferences extends JPanel { startupFileTextfield.setBounds(new Rectangle(122, 202, 309, 20)); startupFileTextfield.addMouseListener(new MouseAdapter() { public void mouseClicked(MouseEvent e) { + if(e.getClickCount()>1) startupFileTextfield_mouseClicked(); } });