🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

what is wrong with XY layout

#459
From: Tony
Date: Thu, 26 May 2005 15:43
34 lines
2312 bytes
Hi,

I wonder if anybody would care to share your view on the XY layout and how 
appropriate
it is to use it in business GUI applications. From time to time I notice 
people say that it is
not appropriate to use it. For some time I have successfully employed the 
following approach
for our GUI applications and found it both fast, simple, _predictable_ and 
aesthetically pleasing:

- Main window has a fixed size for which the business application is 
designed (normally based on
  the lowest supported resolution)
- Forms that are visualized on the main window and forms that appear in 
dialogs all use XYLayout
   with alignment, sizing and positioning done in JBuilder designer.

I have found that Layout managers do very little to help application 
programmers when it comes
to forms layout. As a rule there IS always a minimum resolution with 
anything lower than minimum
not making sense and no layout manager in the world can fix that. For 
resolutions higher than what
the application was desined for in the best case you end up with huge empty 
spaces which normally
look ugly and can get in the way of functional design.

I am not trying to say that one can not design good UI with the proper usage 
of Layout managers,
my point is that it takes a lot of effort to do that and the end result in 
my opinion is not worth it.

Tony.
Technical Details
Message-ID: <4295eeba$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!feed5.newsreader.com!newsreader.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,5c3cecf063c90622,start
X-Google-Attributes: gid111d45,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Tony" <aoganesi_a^t_yahoo_._com>
Newsgroups: borland.public.jbuilder.java.swing
Subject: what is wrong with XY layout
Date: Thu, 26 May 2005 08:43:57 -0700
Lines: 37
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 69.33.38.98
Message-ID: <4295eeba$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1117122234 69.33.38.98 (26 May 2005 08:43:54 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!feed5.newsreader.com!newsreader.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail