UIDefaults defaults = UIManager.getLookAndFeelDefaults(); p.setBackground(defaults.getColor("Panel.background"));
LookAndFeel.installColorsAndFont(p, "Panel.background", "Panel.foreground", "Panel.font");
  public void installDefaults(JPanel p)  {    UIDefaults defaults = UIManager.getLookAndFeelDefaults();    p.setBackground(defaults.getColor("Panel.background"));    p.setOpaque(true);  }