Libraryless. Click here for Pure Java version (5432L/30K).
1 | static <A extends JComponent> A awtEveryAndNow(A component, long delay, O r) { |
2 | swingEvery(component, delay, 0, r); |
3 | ret component; |
4 | } |
5 | |
6 | static <A extends JComponent> A awtEveryAndNow(A component, long delay, Runnable r) { |
7 | ret awtEveryAndNow(component, delay, (O) r); |
8 | } |
9 | |
10 | static <A extends JComponent> A awtEveryAndNow(A component, double delaySeconds, O r) { |
11 | ret awtEveryAndNow(component, toMS(delaySeconds), r); |
12 | } |
13 | |
14 | static <A extends JComponent> A awtEveryAndNow(A component, double delaySeconds, Runnable r) { |
15 | ret awtEveryAndNow(component, toMS(delaySeconds), r); |
16 | } |
17 | |
18 | static void awtEveryAndNow(RootPaneContainer frame, long delay, O r) { |
19 | swingEvery(frame, delay, 0, r); |
20 | } |
Began life as a copy of #1006683
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: | #1013341 |
Snippet name: | awtEveryAndNow |
Eternal ID of this version: | #1013341/7 |
Text MD5: | b0621c892b082e20f4880ba54d5819cc |
Transpilation MD5: | 1ecb1e85c6dced1af9a0b6a0625667e5 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-03-10 17:42:41 |
Source code size: | 699 bytes / 20 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 487 / 595 |
Version history: | 6 change(s) |
Referenced in: | [show references] |