Merge pull request #240 from ingokegel/table_header_column_borders

Made paintColumnBorders protected to help with implementing derived table header UIs
This commit is contained in:
Karl T
2021-01-15 14:15:27 +01:00
committed by GitHub

View File

@@ -141,7 +141,7 @@ public class FlatTableHeaderUI
rendererClassName.equals( "sun.swing.FilePane$AlignableTableHeaderRenderer" ); rendererClassName.equals( "sun.swing.FilePane$AlignableTableHeaderRenderer" );
} }
private void paintColumnBorders( Graphics g, JComponent c ) { protected void paintColumnBorders( Graphics g, JComponent c ) {
int width = c.getWidth(); int width = c.getWidth();
int height = c.getHeight(); int height = c.getHeight();
float lineWidth = UIScale.scale( 1f ); float lineWidth = UIScale.scale( 1f );