On Thu, 18 Dec 2025 02:57:10 GMT, Prasanta Sadhukhan <[email protected]> 
wrote:

> [JDK-8224261](https://bugs.openjdk.org/browse/JDK-8224261) fix controls 
> background painting by checking if border is painted or not. This is wrong as 
> background should always be painted else background will not be painted if 
> border is not there
> JProgressBar.setBorderPainted spec says " Some look and feels might not 
> implement painted borders; they will ignore this property." so not painting 
> border is ok but not painting background is an issue
> 
> The JDK-8224261 is hereby backed out

This pull request has now been integrated.

Changeset: fe5911c7
Author:    Prasanta Sadhukhan <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/fe5911c7695283cb76b3d95877138b0b15bc0ba4
Stats:     237 lines in 3 files changed: 123 ins; 110 del; 4 mod

8373946: Synth ProgressBarUI implementation confuses background painting with 
border painting

Reviewed-by: prr, kizune, azvegint

-------------

PR: https://git.openjdk.org/jdk/pull/28885

Reply via email to