Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

29
LINES

< > BotCompany Repo | #1006683 // awtEvery - synonym of swingEvery

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (9624L/53K).

static <A extends JComponent> A awtEvery(A component, long delay, O r) {
  swingEvery(component, delay, r);
  ret component;
}

static <A extends JComponent> A awtEvery(long delay, A component, Runnable r) {
  ret awtEvery(component, delay, delay, (O) r);
}

static <A extends JComponent> A awtEvery(A component, long delay, long firstDelay default delay, Runnable r) {
  ret awtEvery(component, delay, firstDelay, (O) r);
}

static <A extends JComponent> A awtEvery(A component, long delay, long firstDelay, O r) {
  swingEvery(component, delay, firstDelay, r);
  ret component;
}

static void awtEvery(RootPaneContainer frame, long delay, O r) {
  swingEvery(frame, delay, r);
}

static <A extends JComponent> A awtEvery(A component, double firstDelaySeconds, double delaySeconds, O r) {
  ret awtEvery(component, toMS(firstDelaySeconds), toMS(delaySeconds), r);
}

static <A extends JComponent> A awtEvery(A component, double delaySeconds, O r) {
  ret awtEvery(component, toMS(delaySeconds), r);
}

Author comment

Began life as a copy of #1004422

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1006683
Snippet name: awtEvery - synonym of swingEvery
Eternal ID of this version: #1006683/7
Text MD5: 08ed83162a19eb44a2dbc9535094930d
Transpilation MD5: cf70f2c69600f012a3a6a4445e322143
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-11-01 05:17:16
Source code size: 1029 bytes / 29 lines
Pitched / IR pitched: No / No
Views / Downloads: 724 / 813
Version history: 6 change(s)
Referenced in: [show references]