This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
A simple use case for a ProgressHandle: deleting files If we are deleting more than 1 file, switchToDeterminate(numberOfFiles) shows a progress bar, which is OK. If there is only 1 file, the progress bar does not move and it looks like the operation failed. Another problem arises if 10 files should be deleted and the deletion of the file 6 takes too long (5 minutes). The progress bar does not move for 5 minutes. In seems more useful to switch to the indeterminate state automatically in following cases and deprecate manual switching: - number of steps is 1 - nothing has changed in the last 30 seconds (progress, title, hint)