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

5
LINES

< > BotCompany Repo | #1028109 - getTabTitle

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

Libraryless. Click here for Pure Java version (2647L/17K).

sS getTabTitle(JTabbedPane tabs, int idx) {
  ret tabs == null || idx < 0 ? null : swing(() ->
    idx < tabs.getTabCount() ? tabs.getTitleAt(idx) : null
  );
}

Author comment

Began life as a copy of #1027820

download  show line numbers  debug dex   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, xrpafgyirdlv

No comments. add comment

Snippet ID: #1028109
Snippet name: getTabTitle
Eternal ID of this version: #1028109/1
Text MD5: 90309fa44bac32f0f3a4a7d808deb785
Transpilation MD5: b5f7397c33c7d23cdc5dbe5f6a31a9ee
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-05-19 15:06:48
Source code size: 164 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 30 / 60
Referenced in: [show references]

Formerly at http://tinybrain.de/1028109 & http://1028109.tinybrain.de