How to free JFrame resources?
<p>I have a question for you:<br>
Calling <code>setVisible(false)</code> on a <code>JFrame</code>, makes it disapper, right?<br>
Calling again <code>setVisible(true)</code> makes it appear again, this means that the object is completely still in RAM, right?<br>
If I need to get rid of everything right after I press the "Close" button, what's the correct way (this <code>JFrame</code> is displayed when I press a "config" button in the main UI, so it should disappears (also from RAM) when I press the close button)?<br>
Thanks for your time and sorry for my bad English</p>