title: Enable right click in jFrame
body: <p>Hye there I am searching for how to enable (only and only) right click and show a popup menu in jFrame using NetBeans; using my code as:</p>
  
  <pre><code>    private void formMouseClicked(java.awt.event.MouseEvent evt){                                  
  
              pop.show(evt.getComponent(),evt.getX(), evt.getY());
       }      
  </code></pre>
  
  <p>I'm still unable to get the best results because it also popups on left click too suggest me any hint that I'm doing any blunders Thanks in advance.</p>