static Set<Component> allAWTComponents_extraList = weakHashSet(); static L<Component> allAWTComponents() { if (headless()) ret emptyList(); ret swing(func -> L<Component> { flattenList2( map allChildren(allWindows()), cloneList(allAWTComponents_extraList), // now illegal: // callOpt(SwingUtilities.class, 'getSharedOwnerFrame) ) }); }
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1016841 |
Snippet name: | allAWTComponents |
Eternal ID of this version: | #1016841/8 |
Text MD5: | 2a6bf4ed4be08d17dd0362d9cddfacdc |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-10-22 15:52:30 |
Source code size: | 394 bytes / 14 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 368 / 418 |
Version history: | 7 change(s) |
Referenced in: | [show references] |