From fcf96391201748a3b062c50322df6abd18e975bb Mon Sep 17 00:00:00 2001 From: benfry Date: Sun, 29 Jul 2001 19:43:05 +0000 Subject: [PATCH] play button stays lit, applet window comes forward when fullscreen toggled, more small changes --- processing/app/PdeEditor.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/processing/app/PdeEditor.java b/processing/app/PdeEditor.java index 0221e78e6..afdfcff4d 100644 --- a/processing/app/PdeEditor.java +++ b/processing/app/PdeEditor.java @@ -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(); }