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, 9 Oct 2014 15:06:36 +0000 (16:06 +0100)
src/jalview/gui/FeatureSettings.java

index 304d352..662d7c6 100644 (file)
@@ -101,7 +101,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(),