🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Attempting to visually add panels to subclass of tabbed panel bean

#8969
From: Mark Turnbull
Date: Sun, 18 Jun 2000 00:00
10 lines
999 bytes
I have a been that is a JPanel, that contains a JTabbedPane without any
panels. This bean has some special logic that I want to reuse, so I have
attempted to make several subclasses of this bean. In the subclasses, I want
to add JPanels to the JTabbedPane. Is there a way to do this visually? I can
do it manually in the subclass by something like:

"tabbedPane.add(xxx, "yyy")"
 Is there someway to make the visual design tool "aware" of the tabbed pane?

Mark
Technical Details
Message-ID: <394c4c1e@dnews>
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,98c7a42d8dc7d470,start
X-Google-Attributes: gid111d45,public
From: "Mark Turnbull" <turnbull@playground.net>
Subject: Attempting to visually add panels to subclass of tabbed panel bean
Date: 2000/06/18
Message-ID: <394c4c1e@dnews>
X-Deja-AN: 635910322
X-Trace: 17 Jun 2000 21:12:14 -0800, 131.149.132.195
X-MSMail-Priority: Normal
X-Priority: 3
Newsgroups: borland.public.jbuilder.java.swing
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600