neilcsmith-net commented on code in PR #8316:
URL: https://github.com/apache/netbeans/pull/8316#discussion_r1991012324


##########
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:
   Thanks!  I had the thought after commenting that there was probably an 
existing key for this.  Good to use it.



-- 
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

Reply via email to