1 | static void titleStatus_trailing(Component c, O _status) {
|
2 | if (getFrame(c) == null) ret; |
3 | S status = strOrEmpty(_status); |
4 | S s = getFrameTitle(c); |
5 | S sep = " - "; |
6 | setFrameTitle(c, replaceTrailer(s, sep, status)); |
7 | } |
Began life as a copy of #1006706
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1006711 |
| Snippet name: | titleStatus_trailing - add a trailing status to a window's title |
| Eternal ID of this version: | #1006711/2 |
| Text MD5: | 5fde53605603f2c88134272f979541e0 |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-04-20 16:43:54 |
| Source code size: | 227 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 760 / 783 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |