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

8
LINES

< > BotCompany Repo | #1001659 // allSwingComponentsOfType

JavaX fragment (include)

1  
  static <A> L<A> allSwingComponentsOfType(Class<A> theClass) {
2  
    L<JFrame> frames = listAllFrames();
3  
    new L<A> l;
4  
    
5  
    for (JFrame f : frames)
6  
      scanForComponents(f, theClass, l);
7  
    return l;
8  
  }

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1001659
Snippet name: allSwingComponentsOfType
Eternal ID of this version: #1001659/1
Text MD5: dfda1c1380ee95b6c2c4dd8b6f5532eb
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-11-01 13:37:52
Source code size: 218 bytes / 8 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 666 / 901
Referenced in: [show references]