static <A extends Window> A disposeWindowIfMouseNotInIt(int delay, final A w) { if (w != null) swingLater(delay, r { if (!mouseInWindow(w)) w.dispose(); }); ret w; }
Began life as a copy of #1005625
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: | #1007010 |
Snippet name: | disposeWindowIfMouseNotInIt |
Eternal ID of this version: | #1007010/1 |
Text MD5: | cd48e8212cc255a79518c04996d0a63f |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-02-25 14:30:22 |
Source code size: | 198 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 457 / 458 |
Referenced in: | [show references] |