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

17
LINES

< > BotCompany Repo | #1005520 - awtLater - synonym of swingLater + more

JavaX fragment (include)

// independent timer
static void awtLater(int delay, final O r) {
  swingLater(delay, r);
}

static void awtLater(O r) {
  swingLater(r);
}

// dependent timer (runs only when component is visible)
static void awtLater(JComponent component, int delay, O r) {
  installTimer(component, r, delay, delay, false);
}

static void awtLater(JFrame frame, int delay, O r) {
  awtLater(frame.getRootPane(), delay, r);
}

Author comment

Began life as a copy of #1001313

download  show line numbers  debug dex   

Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz

No comments. add comment

Snippet ID: #1005520
Snippet name: awtLater - synonym of swingLater + more
Eternal ID of this version: #1005520/2
Text MD5: 563e87dd6cb24aa063ca4c788516c919
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-02-19 15:13:26
Source code size: 426 bytes / 17 lines
Pitched / IR pitched: No / No
Views / Downloads: 377 / 375
Version history: 1 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1005520 & http://1005520.tinybrain.de