DevCharly commented on PR #7332:
URL: https://github.com/apache/netbeans/pull/7332#issuecomment-2077803525

   Better remove the `isGtk` field completely.
   `isGtk` is only used in `PropertyPanel.paint()` to decide whether to fill 
the component background
   and should be replaced with `isOpaque()` in that method.
   
   Class `PropertyPanel` extends `JComponent`, which does not fill it 
background.
   So when using `setOpaque(true)`, which is done in constructor of 
`PropertyPanel`, it is required to fill its background.
   
   Following comment should be also removed:
   
https://github.com/apache/netbeans/blob/276a42363653d6cf44fded5a30c4c6f8d783b4b3/platform/openide.explorer/src/org/openide/explorer/propertysheet/PropertyPanel.java#L1155-L1157


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