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

12
LINES

< > BotCompany Repo | #1014280 // Test pMain2 [dev.]

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

Download Jar. Uses 994K of libraries. Compilation Failed (8131L/43K).

!7

// TODO: spam

p {
  Pair<PGauge, Frame> gaugeAndFrame = pMain2(PGauge);
  repeat with sleep 1 {
    double load = parseDouble(print(loadPage("http://botcompany.de/1001951/raw/system+load")));
    gaugeAndFrame.a.setValue(100*load);
    setFrameTitle(gaugeAndFrame.b, formatDouble(load, 2) + " - Old server load");
  }
}

Author comment

Began life as a copy of #1014277

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1014280
Snippet name: Test pMain2 [dev.]
Eternal ID of this version: #1014280/1
Text MD5: eea6b5075ab56b3c3b17fbd6e3e4a3b1
Transpilation MD5: 5e8b8af859c3b130310e5ca7a5a77d41
Author: stefan
Category: javax
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-04-19 18:05:57
Source code size: 335 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 433 / 953
Referenced in: [show references]