From 1d282590b622a5c8bbf8a294e76f8f12bdee50e8 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Tue, 1 May 2007 14:18:56 +0000 Subject: [PATCH] use jalviewLite to addFrame --- src/jalview/appletgui/AppletJmol.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/jalview/appletgui/AppletJmol.java b/src/jalview/appletgui/AppletJmol.java index 29cc070..53115d2 100644 --- a/src/jalview/appletgui/AppletJmol.java +++ b/src/jalview/appletgui/AppletJmol.java @@ -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) -- 1.7.10.2