JAL-3253-applet,JAL-3263 SwingJS-site.zip clean build for 秘foo
authorhansonr <hansonr@STO24954W.ad.stolaf.edu>
Wed, 15 May 2019 23:27:06 +0000 (18:27 -0500)
committerhansonr <hansonr@STO24954W.ad.stolaf.edu>
Wed, 15 May 2019 23:29:26 +0000 (18:29 -0500)
src/jalview/bin/JalviewAppLoader.java
src/jalview/util/Platform.java
swingjs/SwingJS-site.zip
swingjs/timestamp
swingjs/ver/3.2.4/SwingJS-site.zip
swingjs/ver/3.2.4/timestamp

index 5d60cf9..194d619 100644 (file)
@@ -343,7 +343,7 @@ public class JalviewAppLoader
       DataSourceType protocol = resolveFileProtocol(app,
               ret);
 
-      result = app.parseFeaturesFile(param, protocol);
+      result = app.parseFeaturesFile(ret[0], protocol);
     }
 
     param = app.getParameter("showFeatureSettings");
index 0c962f7..9b57a5a 100644 (file)
@@ -621,30 +621,40 @@ public class Platform
   {
     try
     {
-      return (isJS() ? new URL(/**
-                                * @j2sNative J2S.thisApplet._applet.appletViewer.appletDocumentBase
-                                *            ||
-                                */
-              "") : null);
+      if (isJS())
+      {
+        @SuppressWarnings("unused")
+        Object g = Thread.currentThread().getThreadGroup();
+        return new URL(/**
+                        * @j2sNative g.秘html5Applet._appletPanel.appletDocumentBase
+                        *            ||
+                        */
+                "");
+      }
     } catch (MalformedURLException e)
     {
-      return null;
     }
+    return null;
   }
 
   public static URL getCodeBase()
   {
     try
     {
-      return (isJS() ? new URL(/**
-                                * @j2sNative J2S.thisApplet._applet.appletViewer.appletCodeBase
-                                *            ||
-                                */
-              "") : null);
+      if (isJS())
+      {
+        @SuppressWarnings("unused")
+        Object g = Thread.currentThread().getThreadGroup();
+        return new URL(/**
+                        * @j2sNative g.秘html5Applet._appletPanel.appletCodeBase
+                        *            ||
+                        */
+                "");
+      }
     } catch (MalformedURLException e)
     {
-      return null;
     }
+    return null;
   }
 
 }
index 7ab3156..89e1626 100644 (file)
Binary files a/swingjs/SwingJS-site.zip and b/swingjs/SwingJS-site.zip differ
index 578a12e..d3e1b01 100644 (file)
@@ -1 +1 @@
-20190515094824 
+20190515181531 
index 7ab3156..89e1626 100644 (file)
Binary files a/swingjs/ver/3.2.4/SwingJS-site.zip and b/swingjs/ver/3.2.4/SwingJS-site.zip differ
index 578a12e..d3e1b01 100644 (file)
@@ -1 +1 @@
-20190515094824 
+20190515181531