Article View: borland.public.jbuilder.java.swing
Article #865Explain XYLayout vs GridbagLayout to a Delphi user!
From: Abdullah Kauchali
Date: Wed, 20 Oct 2004 10:56
Date: Wed, 20 Oct 2004 10:56
20 lines
1668 bytes
1668 bytes
A couple of things (coming from Delphi): 1. I drag and drop, position and resize my visual components as I see fit. 2. I compile and everything's where I put it. With JBuilder, I can use the XYLayout to achieve the same functionality, but I hear that the XYLayout should be *avoided*: http://groups.google.co.za/groups?hl=en&lr=&threadm=MPG.11d37293f9d9d53a9896d1%40news.mindspring.com&rnum=6&prev=/groups%3Fhl%3Den%26lr%3D%26q%3Dxylayout%26btnG%3DSearch My questions: 1. Why is XYLayout to be avoided? 2. Is there some sort of an automated way to convert to Gridbaglayout AFTER positioning the controls in XYLayout? (Click one button and it's converted ... type of thing?) Kind regards Abdullah
Technical Details
Message-ID:
<41764478@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 111d45,e5dc3c739f1ab78,start X-Google-Attributes: gid111d45,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Abdullah Kauchali" <abdullah.kauchali@someplace.com> Newsgroups: borland.public.jbuilder.java.swing Subject: Explain XYLayout vs GridbagLayout to a Delphi user! Date: Wed, 20 Oct 2004 12:56:31 +0200 Lines: 22 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; Original NNTP-Posting-Host: 165.165.143.251 Message-ID: <41764478@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1098269816 165.165.143.251 (20 Oct 2004 03:56:56 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail