title: Difference between dispose and exit on close in java
body: <p>I have a single frame created using Netbeans GUI builder when I view the frame properties one of the first options is default close operation the options listed are: <code>DISPOSE_ON_CLOSE</code>, <code>HIDE_ON_CLOSE</code>, <code>DO_NOTHING_ON_CLOSE</code> &amp; <code>EXIT_ON_CLOSE</code> I understand the middle two but, whats the difference between <code>DISPOSE_ON_CLOSE</code> and <code>EXIT_ON_CLOSE</code> ? I have tried testing both but to me they do the same thing to me</p>