import jalview.structure.StructureMapping;
import jalview.structure.StructureSelectionManager;
import jalview.util.MessageManager;
+import jalview.util.Platform;
import jalview.ws.DBRefFetcher;
import jalview.ws.sifts.SiftsSettings;
static
{
- /**
- * This is the entry class. Load the core file directly, if it exists. See
- * buildcore.xml.
- *
- *
- * @j2sNative
- *
- * swingjs.JSUtil.loadStaticResource$S("core/core_jvjmol.z.js");
- */
+ Platform.loadStaticResource("core/core_jvjmol.z.js",
+ "org.jmol.viewer.Viewer");
}
private static final String UNKNOWN_VIEWER_TYPE = "Unknown structure viewer type ";