So überprüfen Sie, ob eine Person eine Taste in JFRame in Java drückt
if(jButton1.getModel().isPressed())
System.out.println("the button is pressed");
Bloody Baboon