neilcsmith-net commented on code in PR #8316:
URL: https://github.com/apache/netbeans/pull/8316#discussion_r1990238472
##########
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:
I think this should just use the isMac() check, or a UI key if you feel
that's a problem. Please don't add the LaF ID.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists