remove system.out
authoramwaterhouse <Andrew Waterhouse>
Tue, 8 May 2007 10:09:27 +0000 (10:09 +0000)
committeramwaterhouse <Andrew Waterhouse>
Tue, 8 May 2007 10:09:27 +0000 (10:09 +0000)
src/jalview/bin/JalviewLite.java

index e0f0910..df11327 100755 (executable)
@@ -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,