<Swing Dev> [9] Review Request for 8041642: Incorrect paint of JProgressBar in Nimbus LF

Semyon Sadetsky semyon.sadetsky at oracle.com
Wed Mar 18 07:40:17 UTC 2015


That's correct. Because with the insets left+right=5+5px those values 
are <10px and cannot be painted.
The bar style image contains a gradient pattern along with transparent 
shadows for the bar margins. The squeezing will distort it and user will 
see a different pattern. That was the point of bug.
--Semyon

>    It seems that for the small progress bar values (1, 2, 3, 4, 5, 6) 
> in the test the progress is not shown after the fix.
>    Is it possible to draw something correctly for these small values?
>
>   Thanks,
>   Alexandr.
>
>>
>> Thanks,
>> --Semyon
>




More information about the swing-dev mailing list