Libraryless. Click here for Pure Java version (9893L/55K).
1 | static Component contentsOfTab(JTabbedPane tabs, int idx) {
|
2 | if (tabs == null || idx < 0) null; |
3 | ret swing(-> idx < tabs.getTabCount() ? tabs.getComponentAt(idx) : null); |
4 | } |
Began life as a copy of #1036381
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1036382 |
| Snippet name: | contentsOfTab |
| Eternal ID of this version: | #1036382/5 |
| Text MD5: | 684e9cd639cbac7767c6d41595c04285 |
| Transpilation MD5: | c6700a7b26a4cd84f32afcbeda286778 |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-11-30 15:01:46 |
| Source code size: | 177 bytes / 4 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 358 / 483 |
| Version history: | 4 change(s) |
| Referenced in: | [show references] |