Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

10
LINES

< > BotCompany Repo | #1020866 // selectedTabIndex

JavaX fragment (include)

1  
ifclass JExtendedTabbedPane
2  
  static int selectedTabIndex(JExtendedTabbedPane tabs) {
3  
    ret tabs == null ? -1 : swing(-> tabs.getSelectedIndex());
4  
  }
5  
endif
6  
7  
8  
static int selectedTabIndex(JTabbedPane tabs) {
9  
  ret tabs == null ? -1 : swing(-> tabs.getSelectedIndex());
10  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1020866
Snippet name: selectedTabIndex
Eternal ID of this version: #1020866/3
Text MD5: 6b72354aef3ec4fb0b9c58ce0b56bf05
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:42:13
Source code size: 280 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 310 / 368
Version history: 2 change(s)
Referenced in: [show references]