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

7
LINES

< > BotCompany Repo | #1007408 // startOrActivate - start a program (with nohupJavax) or activate its frames if it's running; program needs to run framesBot()!

JavaX fragment (include)

1  
// returns informative message
2  
static S startOrActivate(S progID) {
3  
  S msg = activateFramesOf(progID);
4  
  if (nempty(msg)) ret infoBoxAndReturn(msg);
5  
  nohupJavax(progID);
6  
  ret infoBoxAndReturn("Starting " + snippetTitle(progID));
7  
}

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: #1007408
Snippet name: startOrActivate - start a program (with nohupJavax) or activate its frames if it's running; program needs to run framesBot()!
Eternal ID of this version: #1007408/5
Text MD5: 57d0edb6272465ffbfc43f5d53735c28
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-07 21:02:08
Source code size: 239 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 548 / 620
Version history: 4 change(s)
Referenced in: [show references]