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 #611553] Thu, 15 December 2005 03:51
Nasser Keshmirshekan is currently offline Nasser KeshmirshekanFriend
Messages: 2
Registered: July 2009
Junior Member
Hi,

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,
Nasser
Previous Topic:Changing a JFrame to a JPanel
Next Topic:Package Scope
Goto Forum:
  


Current Time: Fri Mar 29 07:56:20 GMT 2024

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

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

Back to the top