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.

Bug 10884 - The progress bar for Updater does not move smoothly
Summary: The progress bar for Updater does not move smoothly
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Autoupdate (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P4 blocker (vote)
Assignee: akemr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-03-31 02:16 UTC by Jun Luo
Modified: 2002-01-23 10:44 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments
Make the UpdaterFrame progress bar on even size interval (vs. per file) to make it move smoothly (6.26 KB, patch)
2001-07-20 20:40 UTC, Jun Luo
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jun Luo 2001-03-31 02:16:13 UTC
Since the progress bar on the UpdaterFrame is only updated after each file is 
extracted and copied, it does not appear to move smoothly at all when the 
package have one or two large file.

The proposed patch is to move the progress bar update into copyStreams() method 
where we update it on event interval (every time we check for cancel).   The 
result is very good.   The patch I attach may not be the best way to achieve 
this, but I think one way or another, it would be worthwhile to make the 
progress bar move smoothly regardless what is in the package.

Thanks,
Jun
Comment 1 Jun Luo 2001-03-31 02:17:38 UTC
Created attachment 929 [details]
Make the UpdaterFrame progress bar on even size interval (vs. per file) to make it move smoothly
Comment 2 Jan Chalupa 2001-05-05 20:02:10 UTC
Target milestone -> 3.3
Comment 3 akemr 2001-07-09 15:35:33 UTC
Reassign to proper address.
Comment 4 Jan Chalupa 2001-11-27 10:51:35 UTC
Target milestone -> 3.3.1.
Comment 5 akemr 2002-01-23 10:44:25 UTC
Implemented in trunk.

Thanks Jun, now it looks much better :-)