static void blinkWindowUsingLocation(final JWindow w) { final Point location = w.getLocation(); awtEvery(w, 1000, new Runnable { bool on = true; public void run() { w.setLocation((on = !on) ? location : locationOutsideOfScreen()); } }); }
Began life as a copy of #1013342
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: | #1013344 |
Snippet name: | blinkWindowUsingLocation |
Eternal ID of this version: | #1013344/3 |
Text MD5: | 5924174b471799bbd67ee06489e2b2b0 |
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 23:08:28 |
Source code size: | 276 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 417 / 436 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1013347 - blinkWindowUsingSize - this one actually seems to work |