UIDefaults defaults = UIManager.getLookAndFeelDefaults();
LookAndFeel.installBorder(toolBar, "ToolBar.border"); LookAndFeel.installColorsAndFont(toolBar, "ToolBar.background", "ToolBar.foreground", "ToolBar.font");
  protected void installDefaults()  {    UIDefaults defaults = UIManager.getLookAndFeelDefaults();    toolBar.setBorder(defaults.getBorder("ToolBar.border"));    toolBar.setBackground(defaults.getColor("ToolBar.background"));    toolBar.setForeground(defaults.getColor("ToolBar.foreground"));    toolBar.setFont(defaults.getFont("ToolBar.font"));    dockingBorderColor = defaults.getColor("ToolBar.dockingForeground");    dockingColor = defaults.getColor("ToolBar.dockingBackground");    floatingBorderColor = defaults.getColor("ToolBar.floatingForeground");    floatingColor = defaults.getColor("ToolBar.floatingBackground");  }