Libraryless. Click here for Pure Java version (9482L/52K).
static int removeTab(JTabbedPane tabs, S tabName) { swing { if (tabs == null) ret -1; int idx = indexOfTabName(tabs, tabName); if (idx < 0) ret -1; tabs.removeTabAt(idx); ret idx; } }
Began life as a copy of #1035108
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): elmgxqgtpvxh, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1036247 |
| Snippet name: | removeTab |
| Eternal ID of this version: | #1036247/3 |
| Text MD5: | c4c1545a721ac8c89886d9b254d83262 |
| Transpilation MD5: | 39adb4f7ac3e5d0125722bf05ee15986 |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-11-03 00:04:12 |
| Source code size: | 215 bytes / 9 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 401 / 500 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |