}
  public void endDraggingFrame(JComponent component)  {    if (currentDragMode == JDesktopPane.OUTLINE_DRAG_MODE)      {        setBoundsForFrame((JInternalFrame) component, dragCache.x, dragCache.y,                          dragCache.width, dragCache.height);	pane = null;	dragCache = null;      }    component.repaint();  }