HOW TO: JProgressbar bean

Find out how to get things done with Servoy. Post how YOU get things done with Servoy

Postby jcompagner » Sat Feb 14, 2004 3:07 pm

patrick: what kind of bean?

Can you send over a solution that demonstrates this behaviour?
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8829
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: HOW TO: JProgressbar bean

Postby amcgilly » Mon Mar 09, 2009 11:55 am

I have posted a module that uses the JProgressBar bean to display a progress indicator in a non-modal dialog. This approach makes it possible to display and update the progress indicator by placing a single call inside the loop that is driving your lengthy process. This is, in my opinion, an improvement over the example at the start of this thread, which used a modal dialog and therefore required that the main processing loop be placed in the onShow method of the form in dialog.

progress.JPG
progress.JPG (14.26 KiB) Viewed 2579 times


The module and accompanying documentation are available here
Adrian McGilly
Servoy Developer

Image
amcgilly
 
Posts: 375
Joined: Fri Dec 09, 2005 12:03 am
Location: San Francisco, CA

Re: HOW TO: JProgressbar bean

Postby maarten » Mon Mar 09, 2009 1:41 pm

Thanks for sharing Adrian!
Maarten Berkenbosch
User avatar
maarten
 
Posts: 797
Joined: Wed Apr 23, 2003 10:52 pm
Location: Amersfoort, Netherlands

Previous

Return to How To

Who is online

Users browsing this forum: No registered users and 5 guests