From: amwaterhouse Date: Tue, 8 May 2007 10:09:27 +0000 (+0000) Subject: remove system.out X-Git-Tag: Release_2_3~38 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=d85d658d73b8a2c3595d0d3260637967530134c4;p=jalview.git remove system.out --- diff --git a/src/jalview/bin/JalviewLite.java b/src/jalview/bin/JalviewLite.java index e0f0910..df11327 100755 --- a/src/jalview/bin/JalviewLite.java +++ b/src/jalview/bin/JalviewLite.java @@ -321,7 +321,6 @@ public class JalviewLite { Class.forName("org.jmol.adapter.smarter.SmarterJmolAdapter"); jmolAvailable = true; - System.out.println("JMOL FOUND"); } } catch (java.lang.ClassNotFoundException ex) @@ -563,7 +562,16 @@ public class JalviewLite } } - param = addProtocol(param); + if (inArchive(param) && !jmolAvailable) + { + protocol = AppletFormatAdapter.CLASSLOADER; + } + else + { + protocol = AppletFormatAdapter.URL; + param = addProtocol(param); + } + pdb.setFile(param); if(seqs!=null) @@ -582,8 +590,6 @@ public class JalviewLite protocol); lastFrameX += 40; lastFrameY+=40; - - System.out.println(lastFrameX+" "+lastFrameY); } else new MCview.AppletPDBViewer(pdb,