warn user that no JS callbacks will work by default, and show stacktrace if debug...
authorjprocter <Jim Procter>
Mon, 17 Jan 2011 15:36:06 +0000 (15:36 +0000)
committerjprocter <Jim Procter>
Mon, 17 Jan 2011 15:36:06 +0000 (15:36 +0000)
src/jalview/bin/JalviewLite.java

index 0091e3f..5341a4b 100755 (executable)
@@ -845,10 +845,11 @@ public class JalviewLite extends Applet
        JSObject scriptObject = JSObject.getWindow(this);       
     } catch (Exception ex)
     {
+      System.err
+      .println("Warning: No JalviewLite javascript callbacks available.");
       if (debug)
       {
-        System.err
-                .println("Warning: No JalviewLite javascript callbacks available.");
+        ex.printStackTrace();
       }
     }
     /**