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

8
LINES

< > BotCompany Repo | #1001777 // allSwingComponents -> rather use allAWTComponents

JavaX fragment (include)

1  
static L<Component> allSwingComponents() {
2  
  L<JFrame> frames = listAllFrames();
3  
  new L<Component> l;
4  
  
5  
  for (JFrame f : frames)
6  
    scanForComponents(f, Component.class, l);
7  
  return l;
8  
}

Author comment

Began life as a copy of #1001659

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1001777
Snippet name: allSwingComponents -> rather use allAWTComponents
Eternal ID of this version: #1001777/3
Text MD5: ed16156cb39ae2dd8f84be6c5eb32899
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-09 15:48:06
Source code size: 198 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 507 / 703
Version history: 2 change(s)
Referenced in: [show references]