I\'m creating a program to keep track of a list of DVD\'s. On the main page I have set up 2 JButtons. When the user clicks the one that says new, a new JFrame from another c
I think you can also use DISPOSE_ON_CLOSE:
DISPOSE_ON_CLOSE (the default for JInternalFrame) Hide and dispose of the window when the user closes it. This removes the window from the screen and frees up any resources used by it.
DISPOSE_ON_CLOSE (the default for JInternalFrame)
Hide and dispose of the window when the user closes it. This removes the window from the screen and frees up any resources used by it.