- String st[] = new String[] {
- "colourstruct",
- "" + ((jalview.appletgui.AlignmentPanel) source).av.getViewId(),
- "" + ccomandset.length,
- jvlite.arrayToSeparatorList(pdbfn.toArray(new String[pdbfn
- .size()])) };
- try
- {
- executeJavascriptFunction(true, _listenerfn, st);
- } catch (Exception ex)
- {
- System.err.println("Couldn't execute callback with "
- + _listenerfn + " using args { " + st[0] + ", " + st[1]
- + ", " + st[2] + "," + st[3] + "}"); // + ","+st[4]+"\n");
- ex.printStackTrace();
-
- }
+ String st[] = new String[] { mclass, mhandle,
+ "" + ccomandset.length, jvlite.arrayToSeparatorList(
+ pdbfn.toArray(new String[pdbfn.size()])) };
+ executeJavascriptFunction(true, st);