From ff2face09fcc60b9055822b201da5f5ed1e2236c Mon Sep 17 00:00:00 2001 From: Ben Fry Date: Tue, 14 Feb 2023 20:55:21 -0500 Subject: [PATCH] minor rearrangement --- core/src/processing/core/ThinkDifferent.java | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/core/src/processing/core/ThinkDifferent.java b/core/src/processing/core/ThinkDifferent.java index 1a5c85e50..141779be5 100644 --- a/core/src/processing/core/ThinkDifferent.java +++ b/core/src/processing/core/ThinkDifferent.java @@ -124,6 +124,10 @@ public class ThinkDifferent { static native public void showMenuBar(); + // Used by Python (Jython) Mode to bring windows to the front + static native public void activateIgnoringOtherApps(); + + static { final String NATIVE_FILENAME = "libDifferent.jnilib"; try { @@ -151,11 +155,4 @@ public class ThinkDifferent { e.printStackTrace(); } } - - - // . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . - - // Used by Python (Jython) Mode to bring windows to the front - - static native public void activateIgnoringOtherApps(); }