SyntaxFix
Write A Post
Hire A Developer
Questions
You cat use setVisible () method of JFrame (and set visibility to false) or dispose () method which is more similar to close operation.
setVisible ()
false
dispose ()
close