patch fixes JAL-1558
authorJim Procter <j.procter@dundee.ac.uk>
Thu, 9 Oct 2014 15:06:36 +0000 (16:06 +0100)
committerJim Procter <j.procter@dundee.ac.uk>
Thu, 23 Oct 2014 15:24:56 +0000 (16:24 +0100)
src/jalview/gui/FeatureSettings.java

index 3787efa..95a18d4 100644 (file)
@@ -99,7 +99,7 @@ public class FeatureSettings extends JPanel
       public void mousePressed(MouseEvent evt)
       {
         selectedRow = table.rowAtPoint(evt.getPoint());
-        if (evt.isPopupTrigger())
+        if (SwingUtilities.isRightMouseButton(evt))
         {
           popupSort(selectedRow, (String) table.getValueAt(selectedRow, 0),
                   table.getValueAt(selectedRow, 1), fr.minmax, evt.getX(),