<Swing Dev> RFR: 8268084: [macos] Disabled JMenuItem arrow is not disabled

Sergey Bylokhov serb at openjdk.java.net
Thu Sep 2 09:31:26 UTC 2021


On Thu, 2 Sep 2021 09:17:50 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

> but for AquaL&F it does not create it's own factory icon and rely on BasicIconFactory$MenuItemArrowIcon, so tweaking aqua arrow icon inline with how other do will cause design change, so I think this fix caters to the problem in view of this aqua limitation.

Are you sure that the Aqua does not have its own factory? the BasicIconFactory$MenuItemArrowIcon is an empty class.
AquaLookAndFeel.java:
    "Menu.arrowIcon",(LazyValue) t -> AquaImageFactory.getMenuArrowIcon(),

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

PR: https://git.openjdk.java.net/jdk/pull/5310


More information about the swing-dev mailing list