Transpiled version (6956L) is out of date.
1 | ifclass JExtendedTabbedPane |
2 | svoid setTab(JExtendedTabbedPane tabs, int iTab, Component c) {
|
3 | if (tabs != null) swing {
|
4 | if (iTab >= 0 && iTab < countTabs(tabs)) |
5 | tabs.setComponentAt(iTab, wrap(c)); |
6 | } |
7 | } |
8 | endif |
9 | |
10 | svoid setTab(JTabbedPane tabs, int iTab, Component c) {
|
11 | if (tabs != null) swing {
|
12 | if (iTab >= 0 && iTab < countTabs(tabs)) |
13 | tabs.setComponentAt(iTab, wrap(c)); |
14 | } |
15 | } |
Began life as a copy of #1010336
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1034481 |
| Snippet name: | setTab - replace tab contents in JTabbedPane by index |
| Eternal ID of this version: | #1034481/3 |
| Text MD5: | fe15ff7ef1d235857c139ba2e77ba346 |
| 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 19:43:41 |
| Source code size: | 422 bytes / 15 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 438 / 555 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |