jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1350996 - /jmeter/trunk/src/reports/org/apache/jmeter/report/gui/tree/ReportTreeListener.java
Date Sat, 16 Jun 2012 20:51:59 GMT
Author: pmouawad
Date: Sat Jun 16 20:51:58 2012
New Revision: 1350996

URL: http://svn.apache.org/viewvc?rev=1350996&view=rev
Log:
Use InputEvent

Modified:
    jmeter/trunk/src/reports/org/apache/jmeter/report/gui/tree/ReportTreeListener.java

Modified: jmeter/trunk/src/reports/org/apache/jmeter/report/gui/tree/ReportTreeListener.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/reports/org/apache/jmeter/report/gui/tree/ReportTreeListener.java?rev=1350996&r1=1350995&r2=1350996&view=diff
==============================================================================
--- jmeter/trunk/src/reports/org/apache/jmeter/report/gui/tree/ReportTreeListener.java (original)
+++ jmeter/trunk/src/reports/org/apache/jmeter/report/gui/tree/ReportTreeListener.java Sat
Jun 16 20:51:58 2012
@@ -21,6 +21,7 @@ package org.apache.jmeter.report.gui.tre
 import java.awt.Container;
 import java.awt.event.ActionEvent;
 import java.awt.event.ActionListener;
+import java.awt.event.InputEvent;
 import java.awt.event.KeyEvent;
 import java.awt.event.KeyListener;
 import java.awt.event.MouseEvent;
@@ -286,7 +287,7 @@ public class ReportTreeListener implemen
     }
 
     private boolean isRightClick(MouseEvent e) {
-        return e.isPopupTrigger() || (MouseEvent.BUTTON2_MASK & e.getModifiers()) >
0 || (MouseEvent.BUTTON3_MASK == e.getModifiers());
+        return e.isPopupTrigger() || (InputEvent.BUTTON2_MASK & e.getModifiers()) >
0 || (InputEvent.BUTTON3_MASK == e.getModifiers());
     }
 
     /*



Mime
View raw message