play button stays lit, applet window comes forward when fullscreen toggled, more small changes

This commit is contained in:
benfry
2001-07-29 19:43:05 +00:00
parent 12eb70645d
commit fcf9639120

View File

@@ -510,6 +510,18 @@ public class PdeEditor extends Panel implements PdeEnvironment {
// unless there's a method in AppletContext
if (frame != null) frame.toFront();
try {
((KjcEngine)(runner.engine)).window.toFront();
} catch (Exception e) {
// rather than writing code to check all the posible
// errors with the above statement, just fail quietly
//System.out.println("couldn't bring kjc engine window forward");
}
//if (runner.engine != null) {
//if (runner.engine instanceof KjcEngine) {
//}
//}
buttons.clear();
}