what dispose used for in java?
Answers
Answered by
1
System.exit(); causes the Java VM to terminate completely. JFrame.dispose(); causes the JFrame window to be destroyed and cleaned up by the operating system.
Similar questions