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