🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: the red component mistery

#1183
From: Sven Goetgeluck
Date: Fri, 30 Jan 2004 11:17
29 lines
1938 bytes
"Tor Iver Wilhelmsen (TeamB)" <tor.wilhelmsen@ergo.no> schreef in bericht
news:usmhx289b.fsf@ergo.no...
> Paul Furbacher <pfurbacher@mac.com> writes:
>
> > The JBuilder Help discussion on "red beans"
> > indicates why this happens: the Designer
> > cannot instantiate a class which does not
> > have a no-parameter constructor.
>
> For completeness' sake I'd also like to mention the two other cases
> where it can happen:
>
> 1) When the no-arg constructor throws an exception. To overcome this
>    you often need to surround code that's only relevant at run-time
>    with
>
> if (!java.beans.Beans.isDesignTime()) {
> // ...
> }
>
> 2) When the component extends an abstract class. The solution is to
>    declare a "proxy" concrete class for the designer.

so i cannot do it the way i do it extends from jdialog ,
in jb 3 is worked perfect

what is ment by a "declare proxy concrete class"

sven
Technical Details
Message-ID: <401a3d5e$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!zeus.visi.com!news-out.visi.com!petbe.visi.com!newsfeed.wirehub.nl!news.kweb.on.ca!newsgroups.borland.com!not-for-mail
References: <4019791d$1@newsgroups.borland.com> <401995d7$1@newsgroups.borland.com> <usmhx289b.fsf@ergo.no>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,13c33929f7fcff3b
X-Google-Attributes: gid111d45,public
X-Google-ArrivalTime: 2004-01-30 03:26:45 PST
From: "Sven Goetgeluck" <sven.goetgeluck@pandora.be>
Newsgroups: borland.public.jbuilder.java.swing
References: <4019791d$1@newsgroups.borland.com> <401995d7$1@newsgroups.borland.com> <usmhx289b.fsf@ergo.no>
Subject: Re: the red component mistery
Date: Fri, 30 Jan 2004 12:17:52 +0100
Lines: 32
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 217.136.183.76
Message-ID: <401a3d5e$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1075461470 217.136.183.76 (30 Jan 2004 03:17:50 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!zeus.visi.com!news-out.visi.com!petbe.visi.com!newsfeed.wirehub.nl!news.kweb.on.ca!newsgroups.borland.com!not-for-mail