1 | static Component getComponentAtIndex(final Container c, final int i) { |
2 | ret c == null || i < 0 ? null : swing(func -> Component { i < c.getComponentCount() ? c.getComponent(i) : null }); |
3 | } |
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: | 321 / 372 |
Version history: | 1 change(s) |
Referenced in: | [show references] |