🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Reparenting from a JTabbedPane FROM A VERY FUSTRATED PERSON

#10855
From: Marc G. Smith
Date: Mon, 09 Aug 1999 00:00
18 lines
1135 bytes
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
Technical Details
Message-ID: <7on4fd$80j7@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,c6ad2c9ec7d742d8,start
X-Google-Attributes: gid111d45,public
From: "Marc G. Smith" <msmith@nospam.adc.metrica..co.uk>
Subject: Reparenting from a JTabbedPane FROM A VERY FUSTRATED PERSON
Date: 1999/08/09
Message-ID: <7on4fd$80j7@forums.borland.com>
X-Deja-AN: 510727277
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.swing
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3612.1700