UIDefaults defaults = UIManager.getLookAndFeelDefaults(); header.setBackground(defaults.getColor("TableHeader.background")); header.setForeground(defaults.getColor("TableHeader.foreground")); header.setFont(defaults.getFont("TableHeader.font")); cellBorder = defaults.getBorder("TableHeader.cellBorder");
LookAndFeel.installColorsAndFont(header, "TableHeader.background", "TableHeader.foreground", "TableHeader.font"); cellBorder = UIManager.getBorder("TableHeader.cellBorder");
  protected void installDefaults()  {    UIDefaults defaults = UIManager.getLookAndFeelDefaults();    header.setBackground(defaults.getColor("TableHeader.background"));    header.setForeground(defaults.getColor("TableHeader.foreground"));    header.setFont(defaults.getFont("TableHeader.font"));    cellBorder = defaults.getBorder("TableHeader.cellBorder");  }