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).

1  
!752
2  
3  
static JTextArea ta;
4  
5  
p-awt {
6  
  showFrame("Phone Code Runner", ta = new JTextArea());
7  
  addToWindow(ta, jrightAlignedLine(jbutton("Run (F1)", "run")));
8  
  registerFunctionKey(getFrame(ta), 1, "run");
9  
}
10  
11  
svoid run {
12  
  final S text = ta.getText();
13  
  magiclyFocusConsole();
14  
  thread "Stuff on phone" {
15  
    loading {
16  
      printStruct(onPhone(text));
17  
    }
18  
    requestFocus(ta);
19  
  }
20  
}

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: 440 / 540
Referenced in: [show references]