File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
how to check leftover timer ?
Joined: Oct 30, 2012
Nov 15, 2012 07:50:18
Author and ninkuma
Joined: Jan 10, 2002
Nov 15, 2012 08:50:51
The is no method to check how much time is left on a timer. If you need this information you'll need to store the start time of the timer and compute the elapsed or remaining time from that,.
Asking smart questions
Books by Bear
I agree. Here's the link:
subject: how to check leftover timer ?
How to inactivate a program automatically after a specified time period
Flood Control (JButton)
JButton with a pop up menu
How to stop a Timer after it's run more than once?
How to check if a timer is still running or not ???
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014