Close a frame
I have a frame and when you click on the 'ok' button I want the frame to close. I cant use System.exit(0); as I dont want the system to close, only the frame should close.
[180 byte] By [
javaLa] at [2007-11-27 2:03:17]

You can use the setVisible method, which makes it disappear, but it will still exist, and could be reshown later.