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] Wed, 14 December 2005 22:51
Nasser Keshmirshekan is currently offline Nasser Keshmirshekan
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:Added JTable to JFrame... now can't add other components
Next Topic:Changing a JFrame to a JPanel
Goto Forum:
  


Current Time: Tue Jul 29 16:57:11 EDT 2014

Powered by FUDForum. Page generated in 0.01929 seconds