Transpiled version (5507L) is out of date.
1 | // independent timer |
2 | static void awtLater(int delay, final O r) { |
3 | swingLater(delay, r); |
4 | } |
5 | |
6 | static void awtLater(int delay, Runnable r) { |
7 | swingLater(delay, r); |
8 | } |
9 | |
10 | static void awtLater(O r) { |
11 | swingLater(r); |
12 | } |
13 | |
14 | static void awtLater(double delaySeconds, Runnable r) { |
15 | swingLater(toMS(delaySeconds), r); |
16 | } |
17 | |
18 | // dependent timer (runs only when component is visible) |
19 | static void awtLater(JComponent component, int delay, O r) { |
20 | installTimer(component, r, delay, delay, false); |
21 | } |
22 | |
23 | static void awtLater(JFrame frame, int delay, O r) { |
24 | awtLater(frame.getRootPane(), delay, r); |
25 | } |
Began life as a copy of #1001313
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: | #1005520 |
Snippet name: | awtLater - synonym of swingLater + more |
Eternal ID of this version: | #1005520/5 |
Text MD5: | 0b617382cbd1d375a23e0de8a27a6cce |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-02-24 19:37:46 |
Source code size: | 603 bytes / 25 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 758 / 835 |
Version history: | 4 change(s) |
Referenced in: | [show references] |