Article View: borland.public.jbuilder.java.swing
Article #324Re: Flakeyness
From: Paul Furbacher [TeamB]
Date: Mon, 15 Aug 2005 04:15
Date: Mon, 15 Aug 2005 04:15
48 lines
2687 bytes
2687 bytes
Paul wrote:
> Could someone give me a clue as to thy this may be happening?
>
> It's simple. I have 3-4 items on the Design tab. Let's say, a
> button, 2 text labels and a text field. I select them all, right
> click "align left", run it and a couple of the objects 'disappear'
> from the window both on the run and back on the Design tab. They
> are in the source - nothing changed - they just don't render
> anymore.
The fact that you are using "align left" leads me to
believe that you are using the XYLayout layout manager.
That's fine for getting things initially laid out, but
you are encouraged to switch to some other layout
before running. My guess is that the coordinates
for the objects which disappear are somehow getting
set to some location off screen.
Take the time to learn how to use the GridBagLayout.
Yes, it is difficult, but the rewards will more than
compensate for the slight pain of being disciplined
to learn it.
Also, you don't mention which version of JBuilder
you are using. If it is 2005, make sure that you
have downloaded and installed the most recent
update (update 4, I believe). With 2005, the
UI designer is new and there were some significant
issues with it which were mostly corrected in the
various updates that have been released.
--
Paul Furbacher (TeamB)
Save time, search the archives:
http://info.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:
<430016c6$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!cyclone.bc.net!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<42ff6ed4$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,26264977644ed444 X-Google-Attributes: gid111d45,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Mon, 15 Aug 2005 00:15:07 -0400 From: "Paul Furbacher [TeamB]" <pfurbacher@mac.com> Organization: Reverse Alchemy, Inc. User-Agent: Mozilla Thunderbird 0.8 (Macintosh/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing Subject: Re: Flakeyness References: <42ff6ed4$1@newsgroups.borland.com> In-Reply-To: <42ff6ed4$1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 69.142.222.65 Message-ID: <430016c6$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1124079302 69.142.222.65 (14 Aug 2005 21:15:02 -0700) Lines: 48 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!cyclone.bc.net!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail