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

3
LINES

< > BotCompany Repo | #1020869 // getComponentAtIndex

JavaX fragment (include)

static Component getComponentAtIndex(final Container c, final int i) {
  ret c == null || i < 0 ? null : swing(func -> Component { i < c.getComponentCount() ? c.getComponent(i) : null });
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1020869
Snippet name: getComponentAtIndex
Eternal ID of this version: #1020869/2
Text MD5: 38bfb210371ea3828286ad151918b662
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-01-06 16:24:14
Source code size: 191 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 253 / 299
Version history: 1 change(s)
Referenced in: [show references]