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
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)
How to check if a timer is still running or not ???
How to stop a Timer after it's run more than once?
JButton with a pop up menu
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015