Nesting JFrames

Swing Designer allows you to quickly create the frames, panels, dialogs, applets and other UI elements that comprise Java Swing applications.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

Nesting JFrames

Postby dryutmm » Wed Nov 04, 2009 1:31 pm

Is it possible to put a jframe that i have already created and put it into another jframe which has just tabs on it? I would like to use the tabs to display different information on my sub jframe class. If anyone knows how to do this, that information would be much appreciated.
dryutmm
 
Posts: 5
Joined: Mon Nov 02, 2009 12:58 pm

Re: Nesting JFrames

Postby Eric Clayberg » Thu Nov 05, 2009 6:34 am

dryutmm wrote:Is it possible to put a jframe that i have already created and put it into another jframe which has just tabs on it?

You can put a JInternalFrame inside a JFrame. Don't know about a JFrame inside a JFrame.

General questions about how to use Swing should be posted to the appropriate Java/Swing newsgroup. This forum is specifically for questions about how to use Swing Designer.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to Swing Designer

Who is online

Users browsing this forum: No registered users and 1 guest