if (latexEngine.isStarted()) {
if (Window.Navigator.isJavaEnabled()) {
StaticActionDialog ad = StaticActionDialog.get();
ad.update("Java Unavailable", "<a href=\"http://www.java.com\">Java</a> was not detected. " +
"Ensure that <a href=\"http://www.java.com\">Java</a> is installed and enabled.", new ActionDialogOption[0]);
ad.center();
return;
}
if (latexEngine.isLocked()) {
StaticActionDialog ad = StaticActionDialog.get();
ad.update("Java Sandbox Detected", sandboxMessage, new ActionDialogOption[0]);