Use JProgressBar when there are questions to db
So, I have another question. From my java application I generate a file excel using JExcelApi. For this reason I execute many query on mysql db. So, this operation takes several minutes and I thought to create a JProgressBar. To manage a JProgressBar, however, I should know the time of the entire operation, but I don't know the execution time of query.
So, how can I manage this situation?
Thanks to all