🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: layout question

#466
From: Vander
Date: Wed, 06 Jul 2005 06:44
17 lines
1973 bytes
> one may forgive my stupid question, but ive always wondered why 
> the Java GUI editors are so different from other GUI editors 
> such as for example in Delphi. Why isnt it possible to place a visual component on a x,y-coordinate on a form, adjust its 
> dimensions, and thats it? 

I assume you are speaking of layout managers. In fact there exists a 
standard class XYLayoutManager supplied by Borland which might just give 
you what you are asking for (I guess I never used it, but I wonder why 
Sun never supplied an equivalent!).

http://info.borland.com/techpubs/jbuilder/jbuilder2005/designui/i2_xylayout.html

I would not recommend its usage though if your application has the 
slightest chance to run on an different type of VM than the one you work 
with. Mind that the conception of Java is running on different 
implmenentaions of VM and different styles of painting of components. In 
such a setting the size of layout elements in pixels cannot be predicted.
Technical Details
Message-ID: <42cb7d9d@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeed2.easynews.com!easynews.com!easynews!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42caa73c$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,c3bba0345cb0a212
X-Google-Attributes: gid111d45,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Wed, 06 Jul 2005 08:44:08 +0200
From: Vander <874505@gmx.de>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing
Subject: Re: layout question
References: <42caa73c$1@newsgroups.borland.com>
In-Reply-To: <42caa73c$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 84.152.229.162
Message-ID: <42cb7d9d@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1120632221 84.152.229.162 (5 Jul 2005 23:43:41 -0700)
Lines: 17
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeed2.easynews.com!easynews.com!easynews!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail