Solved

Netbeans IDE, changing class from jFrame to jInternalFrame

Posted on 2009-05-13
2
2,898 Views
Last Modified: 2013-12-14
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
Comment
Question by:amp834
2 Comments
 
LVL 3

Accepted Solution

by:
hazgoduk earned 125 total points
ID: 24380701
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
 

Author Closing Comment

by:amp834
ID: 31581090
thanks, and sorry for closing this so late!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
JUnit 4 @Before and @BeforeClass differences 3 48
xampp tool 12 24
javap not working 8 36
MySqlDump not dumping triggers 1 15
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now