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

3
LINES

< > BotCompany Repo | #1015681 // waitWhileShowing

JavaX fragment (include)

svoid waitWhileShowing(Component c) {
  while (isComponentShowing(c)) sleep(50);
}

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: #1015681
Snippet name: waitWhileShowing
Eternal ID of this version: #1015681/2
Text MD5: abf9c2cf13b7dda6b234e66bc64d78c2
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-21 12:16:48
Source code size: 84 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 455 / 458
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1024356 - sleepWhile - poll predicate every 50 ms, end after 10 seconds (values changeable)