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

11
LINES

< > BotCompany Repo | #1035966 // repaintEvery

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

Libraryless. Click here for Pure Java version (9346L/51K).

1  
static <A extends JComponent> A repaintEvery(int ms, A c) {
2  
  ret awtDoEvery(c, ms, -> c.repaint());
3  
}
4  
5  
static <A extends JComponent> A repaintEvery(double seconds, A c) {
6  
  ret awtDoEvery(c, seconds, -> c.repaint());
7  
}
8  
9  
static <A extends JComponent> A repaintEvery(A c, int ms) {
10  
  ret repaintEvery(ms, c);
11  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): elmgxqgtpvxh, mqqgnosmbjvj, wnsclhtenguj

No comments. add comment

Snippet ID: #1035966
Snippet name: repaintEvery
Eternal ID of this version: #1035966/4
Text MD5: 3aab5ac141e73a53db4b72b966f05da1
Transpilation MD5: ec590fe0705d80b30021f1437ae3b052
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-08-20 23:06:56
Source code size: 319 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 140 / 195
Version history: 3 change(s)
Referenced in: [show references]