Solved

question on using JProgress bar

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
topping3 challenge 14 79
sites similar to codingbat to improve coding hanson skills 3 49
eclipse java  build path 6 56
hibernate example for saving data 19 37
An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
This video teaches viewers about errors in exception handling.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

816 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

8 Experts available now in Live!

Get 1:1 Help Now