@Override
    protected void processMouseEvent(MouseEvent e) {
        switch(e.getID()) {
          case MouseEvent.MOUSE_PRESSED:
              selectionDisabled = false;
              break;
          case MouseEvent.MOUSE_RELEASED:
              selectionDisabled = false;
              break;
          case MouseEvent.MOUSE_CLICKED:
              selectionDisabled = false;
              break;
          case MouseEvent.MOUSE_ENTERED:
              selectionDisabled = false;
              break;
          case MouseEvent.MOUSE_EXITED:
              selectionDisabled = false;
              break;
          case MouseEvent.MOUSE_MOVED:
              break;
          case MouseEvent.MOUSE_DRAGGED:
              if (selectionDisabled) {
                  //System.err.println("\nDrag DISABLED.");
                  return ;
              }
              break;
          case MouseEvent.MOUSE_WHEEL:
              break;
        }
        super.processMouseEvent(e);
    }