titlePane.setBorder(new EmptyBorder(2, 2, 2, 2));
  protected JComponent createNorthPane(JInternalFrame w)  {    titlePane = new MetalInternalFrameTitlePane(w);    titlePane.setBorder(new EmptyBorder(2, 2, 2, 2));    return titlePane;    }