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:
private void formMouseClicked(java.awt.event.MouseEvent evt){
pop.show(evt.getComponent(),evt.getX(), evt.getY());
}
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.