Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

how to close a jframe in java with an if statement

Jframe frame = new Jframe();
int count = 0;
if(count==10){
  frame.setVisable(false);
  frame.dispose();
}
 
PREVIOUS NEXT
Tagged: #close #jframe #java #statement
ADD COMMENT
Topic
Name
8+3 =