public void Crop()
  {
    BufferedImage temp = new BufferedImage(stopCropPoint.x - startCropPoint.x, stopCropPoint.y - startCropPoint.y, parent.ic.getCurrentlyDisplayImage().getType());
    BufferedImage currentDisplay = parent.ic.getCurrentlyDisplayImage();
    
    int w = stopCropPoint.x - startCropPoint.x;
    int h = stopCropPoint.y - startCropPoint.y;

    parent.seqSet.setCropStart(startCropPoint);
    parent.seqSet.setCropStop(stopCropPoint);
            
    if(w>currentDisplay.getWidth()) w=currentDisplay.getWidth();
    if(h>currentDisplay.getHeight()) h=currentDisplay.getHeight();

    parent.seqSet.setWidth(w);
    parent.seqSet.setHeight(h);
    
    for (int i = 0; i < w; i++)
    {
      for (int j = 0; j < h; j++)
      {
        temp.setRGB(i, j, currentDisplay.getRGB(startCropPoint.x + i, startCropPoint.y + j));
      }
    }

    int response = JOptionPane.showConfirmDialog(
            this, "Is this the what you want?", "Confirm", JOptionPane.OK_CANCEL_OPTION, JOptionPane.INFORMATION_MESSAGE, new ImageIcon(temp));

    if (response == JOptionPane.OK_OPTION)
    {
      parent.ic.setCurrentlyDisplayImage(temp);
      
      repaint();
      setSize(w, h);
    }

  }