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
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
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!