eirikbakke commented on code in PR #8316: URL: https://github.com/apache/netbeans/pull/8316#discussion_r1990309774
########## platform/core.windows/src/org/netbeans/core/windows/services/NbPresenter.java: ########## @@ -634,9 +634,10 @@ protected final void initializeButtons() { currentPrimaryButtons = null; currentSecondaryButtons = null; - boolean isAqua = "Aqua".equals (UIManager.getLookAndFeel().getID()) || //NOI18N + boolean useMacButtonOrder = "Aqua".equals (UIManager.getLookAndFeel().getID()) || //NOI18N + UIManager.getLookAndFeel().getID().startsWith("FlatLaf") && Utilities.isMac() || Review Comment: Oh, good point. Naming the LAF is in fact what caused the bug in the first place. Luckily there's a UIDefaults property for this... will fix. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For additional commands, e-mail: notifications-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists