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

8
LINES

< > BotCompany Repo | #1001659 // allSwingComponentsOfType

JavaX fragment (include)

  static <A> L<A> allSwingComponentsOfType(Class<A> theClass) {
    L<JFrame> frames = listAllFrames();
    new L<A> l;
    
    for (JFrame f : frames)
      scanForComponents(f, theClass, l);
    return l;
  }

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: 589 / 823
Referenced in: [show references]