title: How to make an event for left & right click at the same time?
body: <p>I know how to deal with left or right click separately, dragging, double-clicking, but I can't figure out how to do something if the user clicks left and right mouse buttons at the same time without interfering/causing other events to fire.</p>
  
  <pre><code>@Override
  public void handle(Event event) {
      if (event.getSource() instanceof Tile) {
          Tile tile = (Tile) event.getSource();
          if (event.getEventType().equals(MouseEvent.MOUSE_CLICKED)) {
              if (((MouseEvent) event).getButton().equals(MouseButton.SECONDARY))
                  tile.toggleFlag();
              else if (((MouseEvent) event).getClickCount() == 2)
                  mineField.massClick(tile);
          }
          if (event.getEventType().equals(MouseEvent.DRAG_DETECTED))
              if (!((MouseEvent) event).getButton().equals(MouseButton.SECONDARY))
                  tile.startFullDrag();
          if (event.getEventType().equals(MouseDragEvent.MOUSE_DRAG_ENTERED))
              tile.arm();
          if (event.getEventType().equals(MouseDragEvent.MOUSE_DRAG_EXITED))
              tile.disarm();
          if (event.getEventType().equals(MouseDragEvent.MOUSE_DRAG_RELEASED))
              mineField.clickedTile(tile);
          if (event.getEventType().equals(ActionEvent.ANY))
              mineField.clickedTile(tile);
      }
  }
  </code></pre>
  
  <p>Also, if you see a problem with my code feel free to point it out, always looking to improve.</p>