Solved

question on using JProgress bar

Posted on 2002-04-28
3
217 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…

746 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