• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Progress Bar

 
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Do we have to use the Progress bar to indicate that a process is taking a while, or could we create our own custom one?
 
Ranch Hand
Posts: 3451
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Wickes,


Do we have to use the Progress bar to indicate that a process is taking a while...


No, you don't have to but it would be polite of you to do so, so that any users who are abusing speed don't destroy their monitor with their keybourd thinking your program is hung. Seriously though, it is considered good GUI design to show the user progress of any process that takes a long time to complete and prevents any user interaction while completing.


... or could we create our own custom one?


You bet. If you can build a better mouse trap the world will beat a path to your door. But what are you going to do with all those dead mice?
Hope this helps,
Michael Morris
 
Wickes Potgieter
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the reply.
I used a normal JDialog with an animated gif to show that the application is busy working in the background. I can't see why you want to use a JProgressBar for this. But, I suppose if they don't deduct marks for using JProgressBar then COOL!
 
My previous laptop never exploded like that. Read this tiny ad while I sweep up the shards.
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic