?
Solved

Netbeans IDE, changing class from jFrame to jInternalFrame

Posted on 2009-05-13
2
Medium Priority
?
3,233 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 3

Accepted Solution

by:
hazgoduk earned 500 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

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Suggested Courses
Course of the Month8 days, 3 hours left to enroll

765 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