1 | static <A extends Window> A disposeWindowAfter(int delay, final A w) { |
2 | if (w != null) |
3 | swingLater(delay, r { |
4 | w.dispose(); |
5 | }); |
6 | ret w; |
7 | } |
8 | |
9 | static <A extends Window> A disposeWindowAfter(A w, double seconds) { |
10 | ret disposeWindowAfter(toMS_int(seconds), w); |
11 | } |
12 | |
13 | static <A extends Window> A disposeWindowAfter(double seconds, A w) { |
14 | ret disposeWindowAfter(w, seconds); |
15 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1005625 |
Snippet name: | disposeWindowAfter |
Eternal ID of this version: | #1005625/4 |
Text MD5: | f00bd37b3a18400fc3892753731ea84f |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-04-20 20:47:56 |
Source code size: | 397 bytes / 15 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 562 / 609 |
Version history: | 3 change(s) |
Referenced in: | [show references] |