1 | static <A extends Window> A disposeWindowIfMouseNotInIt(int delay, final A w) {
|
2 | if (w != null) |
3 | swingLater(delay, r {
|
4 | if (!mouseInWindow(w)) |
5 | w.dispose(); |
6 | }); |
7 | ret w; |
8 | } |
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: | 674 / 687 |
| Referenced in: | [show references] |