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

7
LINES

< > BotCompany Repo | #1006711 // titleStatus_trailing - add a trailing status to a window's title

JavaX fragment (include)

static void titleStatus_trailing(Component c, O _status) {
  if (getFrame(c) == null) ret;
  S status = strOrEmpty(_status);
  S s = getFrameTitle(c);
  S sep = " - ";
  setFrameTitle(c, replaceTrailer(s, sep, status));
}

Author comment

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