.toLowerCase().indexOf("false") > -1))
{
StructureSelectionManager.getStructureSelectionManager()
- .mouseOverVamsasSequence(sq, sq.findIndex(apos));
+ .mouseOverVamsasSequence(sq, sq.findIndex(apos), null);
}
else
{
StructureSelectionManager.getStructureSelectionManager()
- .mouseOverVamsasSequence(sq, apos);
+ .mouseOverVamsasSequence(sq, apos, null);
}
}
// remove any handlers that might be hanging around from an earlier instance
try
{
- JSObject scriptObject = JSObject.getWindow(this);
+ if (debug)
+ {
+ System.err.println("Applet context is '"+getAppletContext().getClass().toString()+"'");
+ }
+ JSObject scriptObject = JSObject.getWindow(this);
+ if (debug && scriptObject!=null)
+ {
+ System.err.println("Applet has Javascript callback support.");
+ }
+
} 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();
}
}
/**