79293030

Date: 2024-12-19 03:20:43
Score: 1
Natty:
Report link

Resolved by using Control + Click instead of Right Click, as there was no solution that I was looking for.

 private void j1ActionPerformed(java.awt.event.ActionEvent evt) {                                   
            // TODO add your handling code here:
            buttonAction(evt, 1);
    
            if (evt.getModifiers() == 18){
                System.out.println("Control click pressed!")
            }
    }
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Rithvik Kandula