*/
public static String getAppID(String frameType)
{
+
String id = Jalview.getInstance().j2sAppletID;
if (id == null)
{
- Jalview.getInstance().j2sAppletID = id = (String) jsutil
- .getAppletAttribute("_id");
+ Jalview.getInstance().j2sAppletID = id = (isJS ? (String) jsutil
+ .getAppletAttribute("_id") : "jalview");
}
return id + (frameType == null ? "" : "-" + frameType);
}