Bagaimana cara memeriksa apakah seseorang menekan buuton di jframe
if(jButton1.getModel().isPressed())
System.out.println("the button is pressed");
Bloody Baboon
if(jButton1.getModel().isPressed())
System.out.println("the button is pressed");