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

5
LINES

< > BotCompany Repo | #1003462 // getSwingChildren

JavaX fragment (include)

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

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