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).

1  
!7
2  
3  
cm DaWindows > DynObjectTable<Window> {
4  
  start {
5  
    dontPersist();
6  
    itemToMap = func(Window w) -> Map {
7  
      litorderedmap("Window" := str(w))
8  
    };
9  
    dm_doEveryAndNow(2.0, r actualUpdate);
10  
  }
11  
  
12  
  void actualUpdate enter {
13  
    setData(allWindowsNotFrames());
14  
  }
15  
16  
  afterVisualize {
17  
    popupMenuItem_top("Close", voidfunc(Window w) {
18  
      disposeWindow(w);
19  
    });
20  
  }
21  
}

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: 130 / 267
Version history: 1 change(s)
Referenced in: [show references]