public void mouseReleased(MouseEvent me) { if (armed) { armed = false; updateROIBounds(me); fireROIUpdated(); me.consume(); } }
@Override public void mouseDragged(MouseEvent me) { armed = true; updateROIBounds(me); me.consume(); }
public void mousePressed(MouseEvent me) { start = me.getLocation(); startROIBounds = roiGeoBounds.getCopy(); me.consume(); }