TableHeader: support column hover and pressed background and foreground colors (issue #636)

This commit is contained in:
Karl Tauber
2023-01-30 14:21:44 +01:00
parent 4a0bd2c09f
commit 1435469ee5
17 changed files with 148 additions and 14 deletions

View File

@@ -647,6 +647,10 @@ public class FlatTestFrame
Component view = ((JScrollPane)c).getViewport().getView();
if( view != null )
action.accept( view, "view" );
JViewport columnHeader = ((JScrollPane)c).getColumnHeader();
if( columnHeader != null )
action.accept( columnHeader.getView(), "columnHeader" );
} else if( c instanceof JTabbedPane ) {
JTabbedPane tabPane = (JTabbedPane)c;
int tabCount = tabPane.getTabCount();