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

18
LINES

< > BotCompany Repo | #1001427 // Big Text: Show number of VMs

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

Libraryless. Click here for Pure Java version (1727L/13K/43K).

!752

static ShowBigText sbt;
static int delay = 5000;

p {
  sbt = new ShowBigText;
  sbt.title = "JavaX VMs";
  sbt.showText("...");
  
  awt { // << need this because sbt.is is not set otherwise
    installTimer(sbt.is, runnable {
      int n = getNumberOfJavaXVMs();
      sbt.title = n(n, "JavaX VM");
      sbt.showText(str(n));
    }, delay, 0 /* first update instantly please */);
  }
}

Author comment

Began life as a copy of #1001426

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1001427
Snippet name: Big Text: Show number of VMs
Eternal ID of this version: #1001427/1
Text MD5: 944b365ed2a4d324168a8b59abd2437a
Transpilation MD5: fbbbc70f9059b08cf2f316eb0c74b0c4
Author: stefan
Category:
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-07-28 14:23:05
Source code size: 413 bytes / 18 lines
Pitched / IR pitched: No / No
Views / Downloads: 592 / 705
Referenced in: [show references]