Java – update jpprogressbar without knowing progress

I want to use JP progress bar, but I don't have any progress measurement about how long it takes to complete the task My idea is to have a progress bar showing the status of the shutdown process, but I don't know how long it will take, and I can't edit the class that executes the shutdown process

Is there any way to use jpprogressbar without any progress indication?

Solution

Call setindeterminate (true)

From JavaDocs:

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>