cTree.java
.. .. @@ -21,7 +21,7 @@ 21 21 public void mousePressed(MouseEvent e) 22 22 { 23 23 //if (e.isPopupTrigger()) // Works only on mouse released on Windows. 24 - if ((e.getModifiers() & InputEvent.BUTTON3_MASK) == InputEvent.BUTTON3_MASK)24 + if (e.getModifiers() == InputEvent.BUTTON3_MASK)25 25 { 26 26 int row = getClosestRowForLocation(e.getX(), e.getY()); 27 27 if (!isRowSelected(row))