File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java Micro Edition and the fly likes Progress Bar Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Reply Bookmark "Progress Bar" Watch "Progress Bar" New topic
Author

Progress Bar

Danish Shaukat
Ranch Hand

Joined: Nov 16, 1999
Posts: 337
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
Frank Manno
Ranch Hand

Joined: Apr 06, 2003
Posts: 48
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 ]

-- Frank
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Progress Bar
 
Similar Threads
Suggestions on making a progress bar/waiting message
Real time progress bar
Progress bar hangs out.
FileReader progress
Making current thread sleep in JS for progress bar