Question : Netbeans IDE, changing class from jFrame to jInternalFrame

In Netbeans IDE, once I create a jFrame class / form and put controls in it, is there an easy way to change the form to jInternalFrame?

Changing the source code so it's derived from jInternalFrame works partially--it becomes a jInternalFrame, but close/minimize buttons are missing on the titlebar, and when I call functions to add them, the close button doesn't close the form (I guess the listener is not there).

Answer : Netbeans IDE, changing class from jFrame to jInternalFrame

If you go to the folder, there will be a formName.java and a formName.form.

You need to change references in both for it to work, and you can't edit the .form files from within netbeans so do it with a text editor
Random Solutions  
 
programming4us programming4us