From: amwaterhouse Date: Mon, 3 Oct 2005 11:08:22 +0000 (+0000) Subject: Request focus for new frames X-Git-Tag: Release_2_07~68 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=cc8bc2c02bcb23dfb2fe8f4a45ea15bf756ceaa2;p=jalview.git Request focus for new frames --- diff --git a/src/jalview/gui/Desktop.java b/src/jalview/gui/Desktop.java index 037a7a9..4186090 100755 --- a/src/jalview/gui/Desktop.java +++ b/src/jalview/gui/Desktop.java @@ -216,6 +216,7 @@ public class Desktop extends jalview.jbgui.GDesktop frame.toFront(); try{ frame.setSelected(true); + frame.requestFocus(); }catch(java.beans.PropertyVetoException ve) {} }