Libraryless. Click here for Pure Java version (2746L/17K).
1 | svoid updateEnclosingTabTitleWithCount(JComponent c, int n) {
|
2 | Pair<JTabbedPane, Int> p = enclosingTab(c); |
3 | if (p == null) ret; |
4 | setTabTitle(p.a, p.b, appendBracketedCount(dropTrailingBracketedCount(getTabTitle(p.a, p.b)), n)); |
5 | } |
Began life as a copy of #1028107
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: | #1028693 |
| Snippet name: | updateEnclosingTabTitleWithCount |
| Eternal ID of this version: | #1028693/1 |
| Text MD5: | a53d4755e3c2466fba4a8c85c92932e9 |
| Transpilation MD5: | 1e3e0be9c7eb105625cfc081ad474ad0 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-07-05 19:22:59 |
| Source code size: | 236 bytes / 5 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 481 / 629 |
| Referenced in: | [show references] |