• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3350
  • Last Modified:

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).
0
amp834
Asked:
amp834
1 Solution
 
hazgodukCommented:
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
0
 
amp834Author Commented:
thanks, and sorry for closing this so late!
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now