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

9
LINES

< > BotCompany Repo | #1013340 // blinkWindow - cause an ugly entry in Peppermint's task bar

JavaX fragment (include)

1  
static void blinkWindow(final JWindow w) {
2  
  doEvery_daemon(1000, new Runnable {
3  
    bool on;
4  
    
5  
    public void run() {
6  
      awt { w.setVisible(on = !on); }
7  
    }
8  
  });
9  
}

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: #1013340
Snippet name: blinkWindow - cause an ugly entry in Peppermint's task bar
Eternal ID of this version: #1013340/5
Text MD5: 14e7eed9f71e7038f49b6c4537ce387b
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-01-02 22:46:17
Source code size: 182 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 426 / 476
Version history: 4 change(s)
Referenced in: [show references]