🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #10692

Re: Reparenting from a JTabbedPane FROM A VERY FUSTRATED PERSON

#10692
From: Tad Frysinger
Date: Thu, 19 Aug 1999 00:00
30 lines
1537 bytes
In article <7on4fd$80j7@forums.borland.com>, 
msmith@nospam.adc.metrica..co.uk says...
> Hi,
> 
> Basically I'm trying to take a JPanel(a view) that forms one of the tabs in
> a JTabbedPane and shove it into a JFrame. Unfortuneately it doesn't seem to
> work.
> 
> If I reparent it from a parent JPanel to a JFrame or a JFrame to JFrame or
> even a JFrame to a tab on JTabbedPane it works just fine. So I'm assuming
> that the JTabbedPane is the culprit for my extreme displeasure.
> 
> I tried everything on the view, revalidate, validate, repaint, doLayout,
> setVisible and setEnabled, but none of these will get the thing to display.
> 
> Can anyone save me before I throw my monitor out the window?
> 
> 
> Cheers in advance,
> Marc
> 
> 
> 
What do you mean that "forms one of the tabs".  Do you mean you have a 
JPanel contained in the first tab?  Not sure what "reparenting" means.  
Do you mean take the reference of the JPanel from being contained by one 
component, and place it as a child in another component?


Tad Frysinger (TeamB)
Technical Details
Message-ID: <MPG.12260ebad94431c98968b@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7on4fd$80j7@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,c6ad2c9ec7d742d8
X-Google-Attributes: gid111d45,public
From: tfrysinger@earthlink.net (Tad Frysinger)
Subject: Re: Reparenting from a JTabbedPane FROM A VERY FUSTRATED PERSON
Date: 1999/08/19
Message-ID: <MPG.12260ebad94431c98968b@forums.borland.com>
X-Deja-AN: 514813135
References: <7on4fd$80j7@forums.borland.com>
Organization: RTOne
Newsgroups: borland.public.jbuilder.java.swing