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

5
LINES

< > BotCompany Repo | #1003462 // getSwingChildren

JavaX fragment (include)

1  
static L<Component> getSwingChildren(Component c) {
2  
  if (c instanceof Container)
3  
    ret asList(((Container) c).getComponents());
4  
  ret emptyList();
5  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1003462
Snippet name: getSwingChildren
Eternal ID of this version: #1003462/1
Text MD5: d8f854a73896ff554f6c897565cb68f6
Author: stefan
Category: javax / talking robots
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-07-03 18:38:58
Source code size: 155 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 645 / 616
Referenced in: [show references]