UIDefaults defaults = UIManager.getLookAndFeelDefaults(); paletteTitleHeight = defaults.getInt("InternalFrame.paletteTitleHeight"); paletteCloseIcon = defaults.getIcon("InternalFrame.paletteCloseIcon");
paletteTitleHeight = UIManager.getInt("InternalFrame.paletteTitleHeight"); paletteCloseIcon = UIManager.getIcon("InternalFrame.paletteCloseIcon");
  protected void installDefaults()  {    super.installDefaults();    selectedTextColor = MetalLookAndFeel.getControlTextColor();    selectedTitleColor = MetalLookAndFeel.getWindowTitleBackground();    notSelectedTextColor = MetalLookAndFeel.getInactiveControlTextColor();    notSelectedTitleColor = MetalLookAndFeel.getWindowTitleInactiveBackground();        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);  }