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

7
LINES

< > TinyBrain | #1009857 - cancelTimer - cancel javax.swing.Timer or java.util.Timer

JavaX fragment (include)

static void cancelTimer(javax.swing.Timer timer) {
  if (timer != null) timer.stop();
}

static void cancelTimer(java.util.Timer timer) {
  if (timer != null) timer.cancel();
}

download  show line numbers  debug dex   

Travelled to 4 computer(s): cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, tvejysmllsmz

No comments. add comment

Snippet ID: #1009857
Snippet name: cancelTimer - cancel javax.swing.Timer or java.util.Timer
Eternal ID of this version: #1009857/3
Text MD5: 2956574b22c9f4ce4c87d22f1dac2b17
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-01-12 11:26:20
Source code size: 182 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 26 / 39
Version history: 2 change(s)
Referenced in: [show]