United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6601399 Nimbus L&F: Indeterminate ProgressBar should be tiled
JDK-6601399 : Nimbus L&F: Indeterminate ProgressBar should be tiled

Details
Type:
Bug
Submit Date:
2007-09-06
Status:
Resolved
Updated Date:
2011-02-16
Project Name:
JDK
Resolved Date:
2007-09-18
Component:
client-libs
OS:
generic
Sub-Component:
javax.swing
CPU:
generic
Priority:
P2
Resolution:
Fixed
Affected Versions:
6u5
Fixed Versions:
6u10 (b04)

Related Reports

Sub Tasks

Description
The indeterminate progress bar has a bouncing box, rather than tiling.

                                    

Comments
EVALUATION

The code for indeterminate progress bars being able to be tiled was in the code we had prior to committing nimbus initially, but I forgot to commit it in all the hustle. Adding the implementation now.
                                     
2007-09-06
EVALUATION

Part of the fix required adding logic to SynthProgressBarUI for dealing with tiles, and using those tiles to paint the indeterminate state. This was pretty straightforward. The difficult part was that in Nimbus we specify different "padding" based on whether the bar is determinate or indeterminate. SynthProgressBarUI doesn't really support this, unless you return a different SynthStyle instance. I removed an if check to cause the style to be reread anyway, even if it is the "same" as the previous style. I also changed the property change notification handler to update the style if the indeterminate progress changes.
                                     
2007-09-06



Hardware and Software, Engineered to Work Together