X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fbin%2FJalviewLite.java;h=b73fffc5abeafae97ef7cfa54e3fbcd4646ea441;hb=d1d89672d38fb328eca3495177d651c396970fd1;hp=e8be95fbf42f7a8c3ff2d59a77629d91f9d6d04f;hpb=c932f0e85a8852824cdd8ce790af68682732c85c;p=jalview.git diff --git a/src/jalview/bin/JalviewLite.java b/src/jalview/bin/JalviewLite.java index e8be95f..b73fffc 100644 --- a/src/jalview/bin/JalviewLite.java +++ b/src/jalview/bin/JalviewLite.java @@ -292,8 +292,9 @@ public class JalviewLite extends Applet { if (debug) { - jalview.bin.Console.errPrintln("Selecting region using separator string '" - + separator + "'"); + jalview.bin.Console + .errPrintln("Selecting region using separator string '" + + separator + "'"); } } // deparse fields @@ -396,8 +397,8 @@ public class JalviewLite extends Applet } if (debug) { - jalview.bin.Console.errPrintln("Range '" + cl + "' deparsed as [" + from - + "," + to + "]"); + jalview.bin.Console.errPrintln("Range '" + cl + + "' deparsed as [" + from + "," + to + "]"); } } else @@ -457,8 +458,9 @@ public class JalviewLite extends Applet } else { - jalview.bin.Console.errPrintln("ERROR: Invalid Point selection '" + cl - + "' deparsed as [" + r + "]"); + jalview.bin.Console + .errPrintln("ERROR: Invalid Point selection '" + cl + + "' deparsed as [" + r + "]"); } } } @@ -956,8 +958,8 @@ public class JalviewLite extends Applet + ((af == null) ? "All frames" : "Just views for " + af.getAlignViewport().getSequenceSetId())); - jalview.bin.Console.errPrintln("There are now " + javascriptListeners.size() - + " listeners in total."); + jalview.bin.Console.errPrintln("There are now " + + javascriptListeners.size() + " listeners in total."); } } @@ -1003,8 +1005,8 @@ public class JalviewLite extends Applet + ((af == null) ? "All frames" : "Just views for " + af.getAlignViewport().getSequenceSetId())); - jalview.bin.Console.errPrintln("There are now " + javascriptListeners.size() - + " listeners in total."); + jalview.bin.Console.errPrintln("There are now " + + javascriptListeners.size() + " listeners in total."); } } @@ -1039,10 +1041,11 @@ public class JalviewLite extends Applet .addStructureViewerListener(mol); if (debug) { - jalview.bin.Console.errPrintln("Added a javascript structure viewer listener '" - + listener + "'"); - jalview.bin.Console.errPrintln("There are now " + javascriptListeners.size() - + " listeners in total."); + jalview.bin.Console + .errPrintln("Added a javascript structure viewer listener '" + + listener + "'"); + jalview.bin.Console.errPrintln("There are now " + + javascriptListeners.size() + " listeners in total."); } } @@ -1087,7 +1090,8 @@ public class JalviewLite extends Applet rprt = debug; if (debug) { - jalview.bin.Console.errPrintln("Removed listener '" + listener + "'"); + jalview.bin.Console + .errPrintln("Removed listener '" + listener + "'"); } } else @@ -1097,8 +1101,8 @@ public class JalviewLite extends Applet } if (rprt) { - jalview.bin.Console.errPrintln("There are now " + javascriptListeners.size() - + " listeners in total."); + jalview.bin.Console.errPrintln("There are now " + + javascriptListeners.size() + " listeners in total."); } } @@ -1189,8 +1193,9 @@ public class JalviewLite extends Applet } } catch (NumberFormatException e) { - jalview.bin.Console.errPrintln("Ignoring invalid residue number string '" - + pdbResNum + "'"); + jalview.bin.Console + .errPrintln("Ignoring invalid residue number string '" + + pdbResNum + "'"); } } @@ -1220,9 +1225,10 @@ public class JalviewLite extends Applet } catch (Exception ex) { - jalview.bin.Console.errPrintln("Couldn't parse integer arguments (topRow='" - + topRow + "' and leftHandColumn='" + leftHandColumn - + "')"); + jalview.bin.Console + .errPrintln("Couldn't parse integer arguments (topRow='" + + topRow + "' and leftHandColumn='" + + leftHandColumn + "')"); ex.printStackTrace(); } } @@ -1251,8 +1257,9 @@ public class JalviewLite extends Applet } catch (Exception ex) { - jalview.bin.Console.errPrintln("Couldn't parse integer arguments (topRow='" - + topRow + "')"); + jalview.bin.Console + .errPrintln("Couldn't parse integer arguments (topRow='" + + topRow + "')"); ex.printStackTrace(); } @@ -1421,7 +1428,8 @@ public class JalviewLite extends Applet JSObject scriptObject = JSObject.getWindow(this); if (debug && scriptObject != null) { - jalview.bin.Console.errPrintln("Applet has Javascript callback support."); + jalview.bin.Console + .errPrintln("Applet has Javascript callback support."); } } catch (Exception ex) @@ -1465,7 +1473,8 @@ public class JalviewLite extends Applet separator = sep; if (debug) { - jalview.bin.Console.errPrintln("Separator set to '" + separator + "'"); + jalview.bin.Console + .errPrintln("Separator set to '" + separator + "'"); } } else @@ -1573,7 +1582,8 @@ public class JalviewLite extends Applet { if (tries > 0) { - jalview.bin.Console.errPrintln("LiveConnect request thread going to sleep."); + jalview.bin.Console + .errPrintln("LiveConnect request thread going to sleep."); } try { @@ -1584,7 +1594,8 @@ public class JalviewLite extends Applet ; if (tries++ > 0) { - jalview.bin.Console.errPrintln("LiveConnect request thread woken up."); + jalview.bin.Console + .errPrintln("LiveConnect request thread woken up."); } try { @@ -1632,8 +1643,9 @@ public class JalviewLite extends Applet "Calling oninit callback '" + initjscallback + "'."); } catch (Exception e) { - jalview.bin.Console.errPrintln("Exception when executing _oninit callback '" - + initjscallback + "'."); + jalview.bin.Console + .errPrintln("Exception when executing _oninit callback '" + + initjscallback + "'."); e.printStackTrace(); } } @@ -1884,8 +1896,8 @@ public class JalviewLite extends Applet { if (debug) { - jalview.bin.Console.errPrintln("Prepended document base '" + documentBase - + "' to make: '" + withDocBase + "'"); + jalview.bin.Console.errPrintln("Prepended document base '" + + documentBase + "' to make: '" + withDocBase + "'"); } protocol = DataSourceType.URL; return withDocBase; @@ -2475,7 +2487,8 @@ public class JalviewLite extends Applet return rtn; } catch (Exception ex) { - jalview.bin.Console.outPrintln("Exception checking resources: " + f + " " + ex); + jalview.bin.Console.outPrintln( + "Exception checking resources: " + f + " " + ex); return false; } } @@ -2745,7 +2758,8 @@ public class JalviewLite extends Applet this.separator = separator; if (debug) { - jalview.bin.Console.errPrintln("Default Separator now: '" + separator + "'"); + jalview.bin.Console + .errPrintln("Default Separator now: '" + separator + "'"); } } @@ -2901,8 +2915,8 @@ public class JalviewLite extends Applet Color col = ColorUtils.parseColourString(colprop); if (col == null) { - jalview.bin.Console.errPrintln("Couldn't parse '" + colprop + "' as a colour for " - + colparam); + jalview.bin.Console.errPrintln("Couldn't parse '" + colprop + + "' as a colour for " + colparam); } return (col == null) ? defcolour : col; }