Javadoc wrote:Sets the operation that will happen by default when the user initiates a "close" on this internal frame. The possible choices are:
Do nothing. This requires the program to handle the operation in the windowClosing method of a registered InternalFrameListener object.
Automatically make the internal frame invisible.
Automatically dispose of the internal frame.