public static byte[] getFileBytes(File f)
{
- return /** @j2sNative f && swingjs.JSUtil.getFileBytes$O(f) || */
+ return /** @j2sNative f && swingjs.JSUtil.getFileBytes$java_io_File(f) || */
null;
}
public static String getUniqueAppletID()
{
- @SuppressWarnings("unused")
- ThreadGroup g = Thread.currentThread().getThreadGroup();
/**
- * @j2sNative return g.getHtmlApplet$()._uniqueId;
+ * @j2sNative return swingjs.JSUtil.getApplet$()._uniqueId;
*
*/
return null;
{
return;
}
- @SuppressWarnings("unused")
- ThreadGroup g = Thread.currentThread().getThreadGroup();
String id = getUniqueAppletID();
String key = "", value = "";
/**
- * @j2sNative var info = g.getHtmlApplet$().__Info || {}; for (var key in
- * info) { if (key.indexOf(prefix) == 0) { value = "" +
+ * @j2sNative var info = swingjs.JSUtil.getApplet$().__Info || {}; for (var
+ * key in info) { if (key.indexOf(prefix) == 0) { value = "" +
* info[key];
*/