File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
JProgressBar and DB
Joined: Sep 10, 2004
Jan 01, 2006 11:25:00
Quick question: I have a query to the db that takes a while (~15 sec) I would like to let the end-user know that something is going in the background so don't exit.
Anyway, I don't know how long the query will take and I don't know how many records it will obtain, how a
can help? and/or if anyone has better alternative.
Joined: Oct 14, 2005
Jan 01, 2006 12:02:00
From the API documentation for the class:
"To indicate that a task of unknown length is executing, you can put a progress bar into indeterminate mode."
I will leave you to read on from there.
I agree. Here's the link:
subject: JProgressBar and DB
MS SQL Server and Java...
Estimate length of hibernate query
SOS--------display data collection from database
How to make a effective JProgressBar
JProgressBar like Bar with no Percentage?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015