Answers for "jframe close on exit"

2

java close jframe

setVisible(false); //you can't see me!
dispose(); //Destroy the JFrame object
Posted by: Guest on December-11-2020
1

jframe exit on close

frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
Posted by: Guest on January-30-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language