showingResizeCursor = false;
showingCursor = Cursor.DEFAULT_CURSOR;
    public void mouseExited(MouseEvent e)    {      // Reset the cursor shape.      if (showingResizeCursor)        {          frame.setCursor(Cursor.getDefaultCursor());          showingResizeCursor = false;        }    }