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