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

5
LINES

< > BotCompany Repo | #1033712 // setEnclosingTabTitle

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

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

1  
svoid setEnclosingTabTitle(JComponent c, S title) swing {
2  
  Pair<JTabbedPane, Int> p = enclosingTab(c);
3  
  if (p == null) ret;
4  
  setTabTitle(p.a, p.b, title);
5  
}

Author comment

Began life as a copy of #1028693

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1033712
Snippet name: setEnclosingTabTitle
Eternal ID of this version: #1033712/3
Text MD5: 23200a25d091614bf02f72ead34fa183
Transpilation MD5: 9d6aea141f692e53afa5065f76a2a17d
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-12-30 19:06:01
Source code size: 163 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 160 / 231
Version history: 2 change(s)
Referenced in: [show references]