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

1  
!752
2  
3  
static ShowBigText sbt;
4  
static int delay = 5000;
5  
6  
p {
7  
  sbt = new ShowBigText;
8  
  sbt.title = "JavaX VMs";
9  
  sbt.showText("...");
10  
  
11  
  awt { // << need this because sbt.is is not set otherwise
12  
    installTimer(sbt.is, runnable {
13  
      int n = getNumberOfJavaXVMs();
14  
      sbt.title = n(n, "JavaX VM");
15  
      sbt.showText(str(n));
16  
    }, delay, 0 /* first update instantly please */);
17  
  }
18  
}

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