🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Redbox component.

#12280
From: Nikolaos Giannopoulos
Date: Wed, 27 Jan 1999 00:00
32 lines
1474 bytes
Sounds like your subclassing another visual component... JBuilder doesn't
support Visual Form inheritance. e.g.

class A subclasses JFrame

class B subclasses A

YOU will get a red box if you try to visually design class B in JB.

WORKAROUND:

I simply leave two sets of code at the top of the class definition for class B
e.g.:

class B subclasses A
//class B subclasses JFrame

Uncomment the 2nd line and comment the 1st line any time you want to visually
design B - once your done reverse the comments back to the above.

HTH.

--Nikolaos


Lenita Brewitz wrote:

> Hi, I just wondering if there will be any problem if I use a redbox
> component??? Today its ok to run the file and get the component just like I
> want it to be, but in the designposition (in JBuilder) the component is a
> red box. How shall I do?
> /Lenita
Technical Details
Message-ID: <36AFCECB.E97FA030@solmar.ca>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7849l9$djk5@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,59485b51d2656ace
X-Google-Attributes: gid111d45,public
From: Nikolaos Giannopoulos <nikolaos@solmar.ca>
Subject: Re: Redbox component.
Date: 1999/01/27
Message-ID: <36AFCECB.E97FA030@solmar.ca>
X-Deja-AN: 437776692
Content-Transfer-Encoding: 7bit
References: <7849l9$djk5@forums.borland.com>
To: Lenita Brewitz <Lenita.Brewitz@ibfs.com>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Solmar Solutions Inc.
Mime-Version: 1.0
Reply-To: nikolaos@solmar.ca
Newsgroups: borland.public.jbuilder.java.swing