use jalviewLite to addFrame
authoramwaterhouse <Andrew Waterhouse>
Tue, 1 May 2007 14:18:56 +0000 (14:18 +0000)
committeramwaterhouse <Andrew Waterhouse>
Tue, 1 May 2007 14:18:56 +0000 (14:18 +0000)
src/jalview/appletgui/AppletJmol.java

index 29cc070..53115d2 100644 (file)
@@ -169,9 +169,7 @@ public class AppletJmol extends Frame
           viewer.openFile(pdbentry.getFile());
     }
 
-    this.setBounds(400, 400, 400, 400);
-
-    this.setVisible(true);
+    jalview.bin.JalviewLite.addFrame(this, "Jmol", 400,400);
   }
 
   public void loadInline(String string)