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

16
LINES

< > BotCompany Repo | #1000917 // Swing: Run snippet with arguments

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (1386L/9K/33K).

!752

static S snippetID = "";

p {
  if (args.length != 0) snippetID = smartJoin(args);
  thread { // because slte must be called in non-awt thread
    S line = slte("Snippet to run plus arguments", snippetID + " ");
    if (line == null)
      print("abort");
    else {
      print("Running: " + line);
      nohupJavax(line);
    }
  }
}

Author comment

Began life as a copy of #1000914

download  show line numbers  debug dex  old transpilations   

Travelled to 17 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, liwcxgsjrgqn, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, teubizvjbppd, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1000917
Snippet name: Swing: Run snippet with arguments
Eternal ID of this version: #1000917/1
Text MD5: f13885c5525bd0e0ab3b9fb8a153c61b
Transpilation MD5: 0b0307b0613c83a9226a73795a5709f9
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-07-23 21:02:20
Source code size: 358 bytes / 16 lines
Pitched / IR pitched: No / No
Views / Downloads: 622 / 728
Referenced in: #1000880 - Menu for JavaX Starter GUI
#1000919 - Swing: Answer a question
#3000382 - Answer for ferdie (>> t = 1, f = 0)