eirikbakke commented on code in PR #5760:
URL: https://github.com/apache/netbeans/pull/5760#discussion_r1155169943


##########
platform/o.n.swing.laf.flatlaf/src/org/netbeans/swing/laf/flatlaf/FlatLFCustoms.java:
##########
@@ -78,6 +79,9 @@ public Object[] createApplicationSpecificKeysAndValues() {
             // necessary for org.openide.explorer.propertysheet.PropertySheet 
and others
             CONTROLFONT, UIManager.getFont("Label.font"), // NOI18N
 
+            EXPLORER_FOLDER_ICON ,       
ImageUtilities.loadImage("org/netbeans/swing/plaf/resources/hidpi-folder-closed.png"),
+            EXPLORER_FOLDER_OPENED_ICON, 
ImageUtilities.loadImage("org/netbeans/swing/plaf/resources/hidpi-folder-open.png"),

Review Comment:
   Yeah, I checked this and the keys actually need to be "Tree.closedIcon" and 
"Tree.openIcon", otherwise in some cases you get a mix of folder icons like 
this:
   
   <img width="314" alt="folder-karlspr" 
src="https://user-images.githubusercontent.com/886243/229313123-1b0f116f-a6c9-463c-8c0c-d74aebf0ae30.png";>
   
   (Probably because some parts of NetBeans explicitly looks for these icons in 
the JTree UIManager properties.)



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

Reply via email to