hclerx commented on issue #6835:
URL: https://github.com/apache/netbeans/issues/6835#issuecomment-1862209489

   We had the same problem and we found it is caused by FlatLaf. We fixed it by 
patching FlatTableHeaderUI as follows in the paint() method:
   
                // temporary use own default renderer if necessary
                FlatTableCellHeaderRenderer tempRenderer = null;
                if ( 
!header.getDefaultRenderer().getClass().getName().equals("org.netbeans.swing.etable.ETableHeader$ETableHeaderRenderer")
 ) {
                        // temporary use own default renderer
                        tempRenderer = new FlatTableCellHeaderRenderer( 
header.getDefaultRenderer() );
                        header.setDefaultRenderer( tempRenderer );
                }
   
                // paint header
                super.paint( g, c );
   
                // restore default renderer
                if( tempRenderer != null ) {
                        tempRenderer.reset();
                        header.setDefaultRenderer( tempRenderer.delegate );
                }
   
   


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