UIDefaults defaults = UIManager.getLookAndFeelDefaults(); c.setBackground(defaults.getColor("ToolTip.background")); c.setForeground(defaults.getColor("ToolTip.foreground")); c.setFont(defaults.getFont("ToolTip.font")); c.setBorder(defaults.getBorder("ToolTip.border"));
LookAndFeel.installColorsAndFont(c, "ToolTip.background", "ToolTip.foreground", "ToolTip.font"); LookAndFeel.installBorder(c, "ToolTip.border");
  protected void installDefaults(JComponent c)  {    UIDefaults defaults = UIManager.getLookAndFeelDefaults();    c.setBackground(defaults.getColor("ToolTip.background"));    c.setForeground(defaults.getColor("ToolTip.foreground"));    c.setFont(defaults.getFont("ToolTip.font"));    c.setBorder(defaults.getBorder("ToolTip.border"));  }