close button feature java jframe code example
Example: 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();
}
Jframe frame = new Jframe();
int count = 0;
if(count==10){
frame.setVisable(false);
frame.dispose();
}