frame.setBorder(new InternalFrameBorder());
UIDefaults defaults = UIManager.getLookAndFeelDefaults(); Color lineColor = new Color(238, 238, 238); Border inner = BorderFactory.createLineBorder(lineColor, 1); Color shadowInner = new Color(184, 207, 229); Color shadowOuter = new Color(122, 138, 153); Border outer = BorderFactory.createBevelBorder(BevelBorder.RAISED, Color.WHITE, Color.WHITE, shadowOuter, shadowInner); Border border = new BorderUIResource.CompoundBorderUIResource(outer, inner); frame.setBorder(border);   frame.setVisible(false);
  protected void installDefaults()  {    // FIXME: Move border to MetalBorders    frame.setBorder(new InternalFrameBorder());  }