On Wed, 8 Feb 2023 06:33:51 GMT, Prasanta Sadhukhan <[email protected]> 
wrote:

> > I created an automated test, but for some L&F's (such as Nimbus), an 
> > enabled vs disabled ComboBox differs in more than just the text color. The 
> > background, border, and button color may change as well
> 
> Then can we not compare the comboBox without DLCR with comboBox with DLCR 
> when both are disabled...both should be same as per your screenshot

A comboBox with DLCR is slightly smaller than one without DLCR (138x25 vs 
140x25). If I force the same dimensions with setSize, the RGB values are 
slightly off. If these comboBoxes are supposed to exactly match in dimensions, 
they currently don't, and this is due to what would be a separate bug if so.

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

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

Reply via email to