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

4
LINES

< > BotCompany Repo | #1029056 // printAndSetConsoleTitleIfMain - print (always) & set JavaX Console window title (if we are main)

JavaX fragment (include)

1  
svoid printAndSetConsoleTitleIfMain(S s) {
2  
  print(s);
3  
  if (isMain()) consoleTitle(s);
4  
}

Author comment

Began life as a copy of #1006405

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: #1029056
Snippet name: printAndSetConsoleTitleIfMain - print (always) & set JavaX Console window title (if we are main)
Eternal ID of this version: #1029056/5
Text MD5: 62ad2cd049561e30450a87003505438a
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-07-19 02:01:03
Source code size: 92 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 237 / 282
Version history: 4 change(s)
Referenced in: [show references]