Change the JTable header color

From CodeCodex

Implementations[edit]

Java[edit]

JTableHeader anHeader = aTable.getTableHeader();
anHeader.setForeground(new Color(0).yellow);
anHeader.setBackground(new Color(0).black);