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

10
LINES

< > BotCompany Repo | #1020866 // selectedTabIndex

JavaX fragment (include)

ifclass JExtendedTabbedPane
  static int selectedTabIndex(JExtendedTabbedPane tabs) {
    ret tabs == null ? -1 : swing(-> tabs.getSelectedIndex());
  }
endif


static int selectedTabIndex(JTabbedPane tabs) {
  ret tabs == null ? -1 : swing(-> tabs.getSelectedIndex());
}

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: 311 / 369
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1020867 - tabComponents
#1034317 - selectedTabName