!7 lib 1400519 lib 1400520 // darcula set flag PingV3. static IF0<PingSource> ping_v3_pingSourceMaker() { ret () -> new PingSource; } sclass Stem { Window window; Rect getFrameRect() { ret toRect(getBounds(window)); } } static Stem stem; static GazelleV gazelle; p { __javax = x30.class; loadableUtils.utils.__setJavaX(x30.class); vm_generalMap_put(stefansOS := mc()); //UIManager.installLookAndFeel(new com.bulenkov.darcula.DarculaLookAndFeelInfo()); UIManager.getFont("Label.font"); UIManager.setLookAndFeel(new com.bulenkov.darcula.DarculaLaf()); GazelleV gazelle; if (contains(args, "profile")) gazelle = profileToConsole(() -> actualMain(args)); else gazelle = actualMain(args); if (contains(args, "brexit")) System.exit(0); temp gazelle.enter(); gazelle.start(); } static GazelleV actualMain(S... args) { System.out.println(hmsWithColonsAndMS() + ": Init"); //x30.coreInit(); x30.__javax = x30.class; // for hotwire x30_pkg.x30_util.__setJavaX(x30.class); x30.cleanKillMsg = ""; callOnLoadMethods(mc()); printWithMS("new GazelleV"); gazelle = new GazelleV; stem = new Stem; gazelle._host = stem; temp gazelle.enter(); printWithMS("Visualize"); var vis = swing(() -> gazelle.visualize()); printWithMS("Show frame"); stem.window = showMainFrame("Gazella", vis); printWithMS("Dudadoneski"); ret gazelle; } sO dm_getStem(O moduleOrID) { ret stem; } sO resolveModule(O moduleOrID) { ret moduleOrID == stem ? gazelle : moduleOrID; } !include early #1033309 // GazelleV
Began life as a copy of #1033411
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): bhatertpkbcr, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1033419 |
Snippet name: | Gazelle V, New UI Standalone [Darcula theme, broken because JDK 15] |
Eternal ID of this version: | #1033419/1 |
Text MD5: | 87f3c02a481c38428f55fee97e73f76b |
Author: | stefan |
Category: | javax / screen recognition |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-10-27 09:25:02 |
Source code size: | 1645 bytes / 69 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 244 / 491 |
Referenced in: | -