UIDefaults defaults = UIManager.getLookAndFeelDefaults(); paletteTitleHeight = defaults.getInt("InternalFrame.paletteTitleHeight"); paletteCloseIcon = defaults.getIcon("InternalFrame.paletteCloseIcon"); minIcon = MetalIconFactory.getInternalFrameAltMaximizeIcon(16);  title = new JLabel(frame.getTitle(), MetalIconFactory.getInternalFrameDefaultMenuIcon(), SwingConstants.LEFT);
  protected void installDefaults()  {    super.installDefaults();    selectedTextColor = MetalLookAndFeel.getControlTextColor();    selectedTitleColor = MetalLookAndFeel.getWindowTitleBackground();    notSelectedTextColor = MetalLookAndFeel.getInactiveControlTextColor();    notSelectedTitleColor = MetalLookAndFeel.getWindowTitleInactiveBackground();  }