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

12
LINES

< > BotCompany Repo | #1016206 // List App Contexts [chasing memory leaks, Dyn Module]

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

Libraryless. Click here for Pure Java version (14619L/100K).

1  
!7
2  
3  
import sun.awt.AppContext;
4  
5  
sclass ListAppContexts extends DynPrintLog {
6  
  void start {
7  
    Set<AppContext> set = AppContext.getAppContexts();
8  
    print("Have " + n2(set, "app context"));
9  
    for (AppContext c : set)
10  
      pnlStruct((Map) get(c, 'table));
11  
  }
12  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1016206
Snippet name: List App Contexts [chasing memory leaks, Dyn Module]
Eternal ID of this version: #1016206/3
Text MD5: 4f5c69653cd27c89c75ba790f1124ac3
Transpilation MD5: 9ad3fd85086334598c841873b75aabe4
Author: stefan
Category: javax
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-10 16:55:50
Source code size: 276 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 374 / 472
Version history: 2 change(s)
Referenced in: [show references]