<Swing Dev> [15] RFR JDK-8216329: Cannot resize CheckBoxItemMenu in Synth L&F with setHorizontalTextPosition

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Wed Jan 29 00:33:57 UTC 2020


On 1/27/20 7:15 am, Pankaj Bansal wrote:
> << It is not a big issue, but for such a fix we will need a proper specification and CSR, it is like adding a new method to the public class. It is preferable to try to fix it in some other way first.
> I did not realize earlier that this can be done by making changes in WindowsMenuItemUI without calling the updateCheckIcon by moving the code in updateCheckIcon method in WindowsMenuItemUI class. I have made the changes for the same and all works fine. Also, I have removed the updateCheckIcon method from BasicMenuItemUI class as it is not needed.

Can you please double check that it is not possible to reproduce JDK-8152981 even if the test is modified in some way?


-- 
Best regards, Sergey.


More information about the swing-dev mailing list