Transpiled version (5240L) is out of date.
1 | svoid selectTabComponent(JTabbedPane tabs, Component c) swing { |
2 | int idx = indexOfTabComponent(tabs, c); |
3 | if (idx >= 0) |
4 | tabs.setSelectedIndex(idx); |
5 | } |
6 | |
7 | svoid selectTabComponent(JExtendedTabbedPane tabs, Component c) swing { |
8 | int idx = indexOfTabComponent(tabs, c); |
9 | if (idx >= 0) |
10 | tabs.setSelectedIndex(idx); |
11 | } |
Began life as a copy of #1020864
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1034758 |
Snippet name: | selectTabComponent |
Eternal ID of this version: | #1034758/2 |
Text MD5: | 5a8f9e087f2229898cb18caa827ff43d |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-05-13 19:20:59 |
Source code size: | 330 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 158 / 220 |
Version history: | 1 change(s) |
Referenced in: | [show references] |