Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

how to check if a person presses a button in jframe in java

 if(jButton1.getModel().isPressed())
        System.out.println("the button is pressed");
 
PREVIOUS NEXT
Tagged: #check #person #presses #button #jframe #java
ADD COMMENT
Topic
Name
7+4 =