Solved

question on using JProgress bar

Posted on 2002-04-28
3
219 Views
Last Modified: 2007-12-19
Hi,

      Could any tell me how to write a JProgress bar to indicate a Timer's time in every second until a TimerTask class invokes the canel() method of the Timer? I assumed that this Timer start when the java program is load. I cannot find such kind of example and I would like to do so.

Godman
0
Comment
Question by:godman_polly
3 Comments
 
LVL 92

Accepted Solution

by:
objects earned 70 total points
ID: 6976832
You'll have to implement that yourself. The Timer class does not provide support for what you want to do.
Also the timer does not start when the program loads, or does it run continuously so it cannot be used for what you wish.
0
 
LVL 9

Expert Comment

by:Venci75
ID: 7992349
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
Answered by: objects
Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
Venci75
EE Cleanup Volunteer
0
 

Expert Comment

by:SpideyMod
ID: 8048142
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now