I am trying to implement a GUI with Java. I bound a JPopupMenu to a JTable. The JPopupMenu becomes visible on mouse right-click on the JTable.

I managed to prevent mouse left-clicks on the JTable....