This is the format of my MDI Form. When the mdi is called, I put the JInternalFrame.setVisible(false);
When an action is occured in JMenuItem, I'm putting the JInternalFrame.setVisible(true);
My problem is, When I enter a value in the JTextField and closes the JInternalFrame, the value appears there. The problem is, I'm hiding the internalframe after entering the value and unhiding it back when i want the internalframe.
Please advise me, how can I remove the values when I close the JInternalFrame. Also the default close operation of the JInternalFrame is "HIDE"