T
tiewknvc9
Hi.
I have a JProgressBar that has setIndeterminate(true). So that it will
show a small graphic moving back and forth while I do some lengthy
LENGTHY calculations.
The only problem is that the bar that is supposed to be bouncing
around... isn't.
It appears frozen.
I tried to validate and invalidate it. I also tried to paint it
immediately.
no change.
Im wondering if I need to set up another thread to handle the
JProgressBar and how I might be able to do that...
But I wonder if anyone knows of what I might be doing wrong? I dont
currently use threads in my application except for the default one.
How can I use a thread to repaint the progressbar?
Im lost.
Thanks for any helpful replies...
I have a JProgressBar that has setIndeterminate(true). So that it will
show a small graphic moving back and forth while I do some lengthy
LENGTHY calculations.
The only problem is that the bar that is supposed to be bouncing
around... isn't.
It appears frozen.
I tried to validate and invalidate it. I also tried to paint it
immediately.
no change.
Im wondering if I need to set up another thread to handle the
JProgressBar and how I might be able to do that...
But I wonder if anyone knows of what I might be doing wrong? I dont
currently use threads in my application except for the default one.
How can I use a thread to repaint the progressbar?
Im lost.
Thanks for any helpful replies...