Normand Briere
2019-10-20 49d9c15d375942997692f7fccfb697665d0cb59e
cTree.java
....@@ -20,7 +20,8 @@
2020 {
2121 public void mousePressed(MouseEvent e)
2222 {
23
- if (e.isPopupTrigger())
23
+ //if (e.isPopupTrigger()) // Works only on mouse released on Windows.
24
+ if (e.getModifiers() == InputEvent.BUTTON3_MASK)
2425 {
2526 int row = getClosestRowForLocation(e.getX(), e.getY());
2627 if (!isRowSelected(row))