Article View: borland.public.jbuilder.java.swing
Article #759Re: JBuilder2005 Issue
From: test
Date: Tue, 14 Dec 2004 22:37
Date: Tue, 14 Dec 2004 22:37
74 lines
4098 bytes
4098 bytes
First, so we can agree on things: Is this live preview a 'feature' or is it part of the 'core system'. If it is a 'feature' I'd expect that I can turn it off somehow. If it's part of the new core system, I'll have to look for another environment that isn't causing me the trouble (read that backing up to JBuilder X). I really don't think I'd want to wrap any of my application code in something who's sole purpose is to solve a 'design time' issue(s). I'd rather take care of it at the designer level than making my code responsible for determining the environment it is in. The one thing that I know is that this problem doesn't happen in JBuilder X (worst thing that I've had there is the 'red box' saying compenent can't be rendered...no big deal) and it is happening in JBuilder 2005 (more than just a third party control now). I have found a work around for the cell rendering code. I decided to declare a new cellrenderer and make all my changes to it before assigned it to the JList. Basically I moved everything above the line of code that sets the cell renderer for the jlist. That allows me to design things w/o any problems and to this point hasn't caused the issue to arrise again. But I'd still like to know if it's a feature that I can turn off or revert to the way JBuilder X did it. Thanks for all the help! Todd "Lori M Olson [TeamB]" <javadragon@techie.com> wrote in message news:41bf29a4$1@newsgroups.borland.com... > > > test wrote: >> Ok, I've got to find out how to disable this *live view* thing in >> Designer! >> >> I've now run into another instance where it trashes my layout (resets >> everything on form to a size of 1,1 and places it in upper left corner). >> The cause this time was me creating a CellRenderer for a JList I am using >> in one of the JPanels. The ANIsUsingGroupListRenderer extends an >> abstract class which has been used on another JList on the form for a >> week with no issues. I'd like to find out how to turn off this *live >> preview* in designer so I'm not wasting my time any longer fixing it's >> hiccups. >> >> Anyone have any ideas? I don't really want to move back to JBuilderX as >> 2005 has been good to me except for this issue, but I will if I have to >> do so to get rid of this live preview BS. >> >> Thanks in advance. >> >> Todd > > I'm not really familiar with the component(s) causing the problem, but it > sounds like something needs to be wrapped by checking for > java.beans.Beans.isDesignTime(). > > -- > > Regards, > > Lori Olson [TeamB] > > ------------ > > Save yourself, and everyone else, some time and search the > newsgroups and the FAQ-O-Matic before posting your next > question. > > Google Advanced Newsgroup Search > http://www.google.ca/advanced_group_search > Other Newsgroup Searches: > http://www.borland.com/newsgroups/ngsearch.html > Joi Ellis's FAQ-O-Matic: > http://www.visi.com/~gyles19/fom-serve/cache/1.html >
Technical Details
Message-ID:
<41bf69fe@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!transit.nntp.hccnet.nl!transit1.nntp.hccnet.nl!border2.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-mailReferences:
<41b0a4d1$1@newsgroups.borland.com> <41bf10b8@newsgroups.borland.com> <41bf29a4$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,1549d232fd8d8f9b X-Google-Attributes: gid111d45,public X-Google-Language: ENGLISH,ASCII-7-bit From: "test" <test@webmail.winona.edu> Newsgroups: borland.public.jbuilder.java.swing References: <41b0a4d1$1@newsgroups.borland.com> <41bf10b8@newsgroups.borland.com> <41bf29a4$1@newsgroups.borland.com> Subject: Re: JBuilder2005 Issue Date: Tue, 14 Dec 2004 16:37:40 -0600 Lines: 76 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 216.171.155.7 Message-ID: <41bf69fe@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1103063550 216.171.155.7 (14 Dec 2004 14:32:30 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!transit.nntp.hccnet.nl!transit1.nntp.hccnet.nl!border2.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