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

13
LINES

< > BotCompany Repo | #1020895 // Add & Remove Tray Icon A Lot [stress test]

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Uses 911K of libraries. Click here for Pure Java version (3052L/16K).

!7

compact module TrayTest > DynPrintLogAndEnabled {
  start { loop(); }
  
  void loop {
    if (enabled) dm_setTrayIcon_left(jlabel("Hello"));
    doAfter(0.5, r {
      dm_setTrayIcon_left(null);
      doAfter(0.5, r loop);
    });
  }
}

Author comment

Began life as a copy of #1019400

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1020895
Snippet name: Add & Remove Tray Icon A Lot [stress test]
Eternal ID of this version: #1020895/5
Text MD5: a0f2ebb5eb77d1c53ff5799380ed62c3
Transpilation MD5: d70397bb21d0c2e724e878e294c4d3b9
Author: stefan
Category: javax / stefan's os
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-01-09 14:00:09
Source code size: 253 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 364 / 495
Version history: 4 change(s)
Referenced in: [show references]