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

3
LINES

< > BotCompany Repo | #1034038 // indexOfTabName

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (4712L/26K).

static int indexOfTabName(JTabbedPane tabs, S name) {
  ret tabs == null ? -1 : swing(-> tabs.indexOfTab(name));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1034038
Snippet name: indexOfTabName
Eternal ID of this version: #1034038/1
Text MD5: 607a279fe77c1c8ffb9ea2e9d11cc42b
Transpilation MD5: efdfef83f8f4775bf05f7c66cde18a3e
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-01-18 01:54:38
Source code size: 116 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 172 / 248
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1034132 - indexOfTabNameWithoutTrailingCount - also case-insensitive