I want to use a JProgressBar but I don't have any measurement of progress for how long the task will take to complete. The idea is to have a progress bar displaying the status of a shutdown process but I don't know how long it takes, and I have no way of editing the class that does the shutdown process.
Is there a way to use a JProgressBar without having any indication of the progress?