UIDefaults defaults = UIManager.getLookAndFeelDefaults(); Border border = defaults.getBorder("InternalFrame.border"); frame.setBorder(border); frame.setFrameIcon(defaults.getIcon("InternalFrame.icon"));
LookAndFeel.installBorder(frame, "InternalFrame.border"); frame.setFrameIcon(UIManager.getIcon("InternalFrame.icon"));
  protected void installDefaults()    {      UIDefaults defaults = UIManager.getLookAndFeelDefaults();      Border border = defaults.getBorder("InternalFrame.border");      frame.setBorder(border);      frame.setFrameIcon(defaults.getIcon("InternalFrame.icon"));      // InternalFrames are invisible by default.      frame.setVisible(false);  }