Solved

Netbeans IDE, changing class from jFrame to jInternalFrame

Posted on 2009-05-13
2
2,835 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
Comment Utility
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
Comment Utility
thanks, and sorry for closing this so late!
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
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:
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

744 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

16 Experts available now in Live!

Get 1:1 Help Now