public boolean isPanningEvent(MouseEvent event){
  return (event != null) ? event.isShiftDown() && event.isControlDown() : false;
}

public boolean isPanningEvent ( MouseEvent event ) { return ( event != null ) ? event . isShiftDown ( ) && event . isControlDown ( ) : false ; }
note : this is not used during drag and drop operations due to limitations of the underlying api . to enable this for move operations set dragenabled to false .
