Made paintColumnBorders protected to help with implementing derived table header UIs

To implement FlatLaf UIs for CellStyleTableHeaderUI and SortableTableHeaderUI from the Jide Grids library, access to the paintColumnBorders method is required
This commit is contained in:
Ingo Kegel
2021-01-15 13:09:10 +01:00
parent 3c086a92e2
commit 15017ed49c

View File

@@ -141,7 +141,7 @@ public class FlatTableHeaderUI
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 height = c.getHeight();
float lineWidth = UIScale.scale( 1f );