🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Design window turning red

#444
From: memyselfandI
Date: Tue, 24 May 2005 03:52
55 lines
2958 bytes
Ah Yes Indeed, the dreaded red beans issue.

The GUI designer is a very nice tool, but this read beans issue is one of the most often complained about issues in the newsgroups.

The big problem is that the designer does not produce intellegent error messages to help you determine what is occurring for you to correct.

What you can do to figure out wat is going on is: 
1.  comment out most of the initialization in jbinit
2.  comment all of your own methods
3.  launch the designer

At this point, unless something is very wacky, the designer should now work again.

Now, uncomment a bit at a time in the jbinit, each time go back to the designer.

If you get everything uncommented again in jbinit, then the issue is in one of your methods.  Un-comment each method, one at a time.

It is painful but doing this has always solved the problem for me.

"Paul Furbacher [TeamB]" <pfurbacher@mac.com> wrote:
>Magnus wrote:
>
>> I have developed a test program to work with JTree. [...]
>> 
>> All by a sudden, while swapping between Source and Design tabs - the 
>> design window turns red and I get the following message:
>> 
>> Failed to create live value from JPanel contentPane;: null
>> Failed to create live visual subcomponent contentPane (Bord [...]
>
>> I have no idea what to change or even where to look for an error. [...]
>
>The <jbuilder install dir>/setup/release_notes.html file
>is a good place to start; see the "Designer" section.
>
>Also, this subject has come up often and is well
>documented in the archives.  Try the keywords
>"Failed to create live value" or "red bean".
>
>
>-- 
>
>
>Paul Furbacher (TeamB)
>
>   Save time, search the archives:
>        http://www.borland.com/newsgroups/ngsearch.html
>
>   Is it in Joi Ellis's Faq-O-Matic?
>        http://www.visi.com/~gyles19/fom-serve/cache/1.html
>
>   Finally, please send responses to the newsgroup only.
>   That means, do not send email directly to me.
>   Thank you.
Technical Details
Message-ID: <4292a4e3@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsgate.cistron.nl!newsfeed.bit.nl!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42762745@newsgroups.borland.com> <42769338$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,bddfb924687a12a0
X-Google-Attributes: gid111d45,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "memyselfandI" <me_myself@yahoo.com>
Sender: "memyselfandI" <me_myself@yahoo.com>
Reply-To: "memyselfandI" <me_myself@yahoo.com>
Subject: Re: Design window turning red 
Newsgroups: borland.public.jbuilder.java.swing
X-User-Info: 202.27.240.6     
References: <42762745@newsgroups.borland.com> <42769338$1@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <4292a4e3@newsgroups.borland.com>
Date: 23 May 2005 20:52:03 -0700
X-Trace: newsgroups.borland.com 1116906723 207.105.83.66 (23 May 2005 20:52:03 -0700)
Lines: 56
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsgate.cistron.nl!newsfeed.bit.nl!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail