Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

21
LINES

< > BotCompany Repo | #1032093 // Windows and JWindows

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Uses 1113K of libraries. Click here for Pure Java version (3585L/18K).

!7

cm DaWindows > DynObjectTable<Window> {
  start {
    dontPersist();
    itemToMap = func(Window w) -> Map {
      litorderedmap("Window" := str(w))
    };
    dm_doEveryAndNow(2.0, r actualUpdate);
  }
  
  void actualUpdate enter {
    setData(allWindowsNotFrames());
  }

  afterVisualize {
    popupMenuItem_top("Close", voidfunc(Window w) {
      disposeWindow(w);
    });
  }
}

Author comment

Began life as a copy of #1027695

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx

No comments. add comment

Snippet ID: #1032093
Snippet name: Windows and JWindows
Eternal ID of this version: #1032093/2
Text MD5: 6061fe259b6845fd5b884cbee13e9b09
Transpilation MD5: 1472130ddb59c83a8d52bf545a5479ce
Author: stefan
Category: javax / gui
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-08-11 14:17:55
Source code size: 407 bytes / 21 lines
Pitched / IR pitched: No / No
Views / Downloads: 129 / 266
Version history: 1 change(s)
Referenced in: [show references]