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

5
LINES

< > BotCompany Repo | #1028107 // updateTabNameWithTableCount

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

Libraryless. Click here for Pure Java version (2776L/18K).

svoid updateTabNameWithTableCount(JTable table) {
  Pair<JTabbedPane, Int> p = enclosingTab(table);
  if (p == null) ret;
  setTabTitle(p.a, p.b, appendBracketedCount(dropTrailingBracketedCount(getTabTitle(p.a, p.b)), tableRowCount(table)));
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1028107
Snippet name: updateTabNameWithTableCount
Eternal ID of this version: #1028107/2
Text MD5: affd062ec887acbbc60d26062de20afe
Transpilation MD5: 9bce4a5c248d624ec0a1b5bf153cce71
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-05-19 15:07:05
Source code size: 247 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 222 / 308
Version history: 1 change(s)
Referenced in: [show references]