From d85d658d73b8a2c3595d0d3260637967530134c4 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Tue, 8 May 2007 10:09:27 +0000 Subject: [PATCH] remove system.out --- src/jalview/bin/JalviewLite.java | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) 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, -- 1.7.10.2