Dont setSelected on new frames
authoramwaterhouse <Andrew Waterhouse>
Tue, 30 Aug 2005 11:24:44 +0000 (11:24 +0000)
committeramwaterhouse <Andrew Waterhouse>
Tue, 30 Aug 2005 11:24:44 +0000 (11:24 +0000)
src/jalview/gui/Desktop.java

index 9ebbf5b..97c6a20 100755 (executable)
@@ -179,15 +179,7 @@ public class Desktop extends jalview.jbgui.GDesktop
        }
 
        desktop.add(frame);
-       try
-       {
-         frame.setSelected(true);
-         frame.toFront();
-       }
-       catch (Exception e)
-       {
-         System.out.println("got it " + e);
-       }
+       frame.toFront();
 
 
         final JMenuItem menuItem = new JMenuItem(title);