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

20
LINES

< > BotCompany Repo | #1005942 // Phone Code Runner [Swing]

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

Libraryless. Click here for Pure Java version (5627L/40K/129K).

!752

static JTextArea ta;

p-awt {
  showFrame("Phone Code Runner", ta = new JTextArea());
  addToWindow(ta, jrightAlignedLine(jbutton("Run (F1)", "run")));
  registerFunctionKey(getFrame(ta), 1, "run");
}

svoid run {
  final S text = ta.getText();
  magiclyFocusConsole();
  thread "Stuff on phone" {
    loading {
      printStruct(onPhone(text));
    }
    requestFocus(ta);
  }
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

-
Snippet ID: #1005942
Snippet name: Phone Code Runner [Swing]
Eternal ID of this version: #1005942/1
Text MD5: 9bac4b662f2fcb13027d8867304005d8
Transpilation MD5: e938a48827544ed7afa3406b97b3e2ac
Author: stefan
Category: javax / gui / android
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-12-13 02:52:54
Source code size: 404 bytes / 20 lines
Pitched / IR pitched: No / No
Views / Downloads: 494 / 615
Referenced in: