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).

static <A extends JComponent> A repaintEvery(int ms, A c) {
  ret awtDoEvery(c, ms, -> c.repaint());
}

static <A extends JComponent> A repaintEvery(double seconds, A c) {
  ret awtDoEvery(c, seconds, -> c.repaint());
}

static <A extends JComponent> A repaintEvery(A c, int ms) {
  ret repaintEvery(ms, c);
}

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: 138 / 192
Version history: 3 change(s)
Referenced in: [show references]