}
}
+ /**
+ * Set the "app" property of the HTML5 applet object, for example,
+ * "testApplet.app", to point to the Jalview instance. This will be the object
+ * that page developers use that is similar to the original Java applet object
+ * that was accessed via LiveConnect.
+ *
+ * @param j
+ */
+ public static void setAppClass(Object j)
+ {
+ if (!isJS())
+ {
+ return;
+ }
+ @SuppressWarnings("unused")
+ Thread t = Thread.currentThread();
+ /**
+ * Set up "testApplet.app" to be this instance
+ *
+ * @j2sNative
+ *
+ * try {self[t.name].app = j}catch(e){}
+ */
+ }
}