adding fuel to the fire - was xylayout jb X

Found this over on borland.public.jbuilder.java.swing:

On Sat, 10 Jan 2004 14:47:22 -0800, Peter Zaharkiv wrote:

We use XYLayout here all the time with jBuilder X.

Our typical development pattern is to first design a layout using XYLayout
and then switching it to GridBagLayout.

Not perfect, but until jBuilder provides some newer Layout schemas, it
works pretty fairly well.

- Peter


This seems to be a common theme in the jbuilder groups, so, if XY layout
is soo good, why is everyone converting their XY Layouts to GridBagLayout
after initial prototype?

5 comments
Comment actions Permalink

XY layout is good enought for prototype. but for real product, u should consider various conditions. what if user use a different platform? what if user have different font size? etc. XY layout is easier to draw, just like what they do in VB, delphi, but if u want UI to be perfect on every machine, u should use some other layout manger.

0
Comment actions Permalink

Mark Derricutt wrote:

Found this over on borland.public.jbuilder.java.swing:

On Sat, 10 Jan 2004 14:47:22 -0800, Peter Zaharkiv wrote:

>>We use XYLayout here all the time with jBuilder X.
>>
>>Our typical development pattern is to first design a layout using XYLayout
>>and then switching it to GridBagLayout.
>>
>>Not perfect, but until jBuilder provides some newer Layout schemas, it
>>works pretty fairly well.
>>
>>- Peter


This seems to be a common theme in the jbuilder groups, so, if XY layout
is soo good, why is everyone converting their XY Layouts to GridBagLayout
after initial prototype?


XY is not resizeable

--
Vladimir Kondratyev
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink


XY is not resizeable


Not resizable?

Then I don't understand the thread in the community group that
mentioned XYLayout being aware of font sizes.

Most changes in font size imply a resizing of the layout - I must be
missing something here :)

0
Comment actions Permalink

XY garentees the prefered size of components. So if the font size changes, the component size may change. but thus, fine tuned UI may look ugly because components may overlap.

0
Comment actions Permalink

XY garentees the prefered size of components. So if the font size
changes, the component size may change. but thus, fine tuned UI may
look ugly because components may overlap.


Ah. Absolute X and Y positions as the name implies, as I thought all
along, and contrary to what some posters have been writing (or at least
implying) in other threads :)

Useless layout as said from the beginning of the discussion.


Thanks for the clarification tc master.

0

Please sign in to leave a comment.