Libraryless. Click here for Pure Java version (7630L/43K).
1 | static Component getTab(JTabbedPane tabs, int idx) { |
2 | ret tabs == null || idx < 0 ? null : swing( -> |
3 | idx < tabs.getTabCount() ? tabs.getComponentAt(idx) : null |
4 | ); |
5 | } |
Began life as a copy of #1028109
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1035166 |
Snippet name: | getTab |
Eternal ID of this version: | #1035166/1 |
Text MD5: | f14ce34772b98faed7bdc83b2851c2de |
Transpilation MD5: | f1c77824f4ebdb1ff896eaa3397b838d |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-04-03 18:57:47 |
Source code size: | 175 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 146 / 191 |
Referenced in: | [show references] |