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

14
LINES

< > BotCompany Repo | #1000899 // Test single-line input

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

Libraryless. Click here for Pure Java version (1827L/14K/44K).

!747

m {
  p {
    final Class prog = hotwire("#1000897");
    set(prog, "input", "Test");
    set(prog, "description", "Enter some stuff");
    setOpt(prog, "_noExit", true);
    set(prog, "onOK", runnable { print("OK - " + get(prog, "input")); });
    set(prog, "onCancel", runnable { print("Cancel - " + get(prog, "input")); });
    
    callMain(prog);
  }
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1000899
Snippet name: Test single-line input
Eternal ID of this version: #1000899/1
Text MD5: f9d622d1b71ffda0b308560709cc7578
Transpilation MD5: 9c72f18d7073aeaa8b3e2ab528395f82
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-09-06 01:52:34
Source code size: 376 bytes / 14 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 605 / 614
Referenced in: [show references]