Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » Changing a JFrame to a JPanel
Changing a JFrame to a JPanel [message #113289] Thu, 15 December 2005 03:51
Nasser Keshmirshekan is currently offline Nasser KeshmirshekanFriend
Messages: 2
Registered: July 2009
Junior Member

I have created a wizard that started as a JFrame visual class. Later on I
wish I had created it as a JPanel visual class so that I could import and
use it in different places. I tried to manually change the class from
JFrame to JPanel and 'mimic' everything to be as if a JPanel would do it
but no luck. When I open the manually modified file, the JPanel shown on
the canvas is blank while in my initialize method I have many components
added to it.

The general question in here is how one would convert a JFrame to a
JPanel? Ideally the new JPanel would contain everything that the JFrame's
content pane was containing.

Thanks in advance,
Previous Topic:Added JTable to JFrame... now can't add other components
Next Topic:Changing a JFrame to a JPanel
Goto Forum:

Current Time: Tue Jun 19 14:50:33 GMT 2018

Powered by FUDForum. Page generated in 0.02034 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top