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

23
LINES

< > BotCompany Repo | #1001731 // Show console for other process (simple version)

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

Libraryless. Click here for Pure Java version (1192L/9K/30K).

!747
!awt {
!actionListener {
!pcall {

m {
  static S vmName = "This is a JavaX VM."; // Use any VM
  static int delay = 1000;
  static int len;
  
  static JTextArea textArea;
  
  p {
    S output = unquote(sendToLocalBot(vmName, "get output"));
    len = l(output);
    textArea = showText("Output of VM " + quote(vmName), output);
    installTimer(textArea, runnable {
      S s = unquote(sendToLocalBot(vmName, "get output substring from *", len));
      textArea.append(s);
      len += l(s);
    }, delay);
  }
}

Author comment

Began life as a copy of #1001729

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: #1001731
Snippet name: Show console for other process (simple version)
Eternal ID of this version: #1001731/1
Text MD5: 2d619677c5bbd80ae99fcb72ae46027d
Transpilation MD5: 47e95fb3a6c0541eb6a0d0044eda0573
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-11-10 20:03:40
Source code size: 542 bytes / 23 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 669 / 773
Referenced in: [show references]