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).

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

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: 202 / 281
Version history: 1 change(s)
Referenced in: [show references]