Forums Register Login

Progress Bar

+Pie Number of slices to send: Send
Hi !
I want to make a progress bar using a non-interactive gauge. I want that after a specified time period the bar shows progress. But i can't figure out how do i make this thing. I have tried to make the current thread sleep for some time and then display the gauge, but it always ends up displaying the last screen.
Regards
Danish
+Pie Number of slices to send: Send
Hi Danish,
You're in luck... I'm on the Gauge section of my J2ME book, and the example I'm working on has that exact piece of code you're looking for.
You need to create a Timer object, as well as a TimerTask object that will be executed when you schedule its execution:

Hope that helps...
[ July 03, 2003: Message edited by: Frank Manno ]
You would be much easier to understand if you took that bucket off of your head. And that goes for the tiny ad too!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 917 times.
Similar Threads
Suggestions on making a progress bar/waiting message
Making current thread sleep in JS for progress bar
Real time progress bar
Progress bar hangs out.
FileReader progress
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 06:51:11.