What does this layout manager do that java.awt.GridBagLayout does not?

Fixed positioning is achieved with a null layout.

Why would you want to simulate other layout managers? Just use the layout
manager you need, rather than reimplementing it. This seems like a waste of
effort to me.

-----Original Message-----
From: Steve Barrett <[EMAIL PROTECTED]>
To: govind <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Sunday, April 01, 2001 08:47
Subject: Re: super layout manager help


>Of course, you are right, I need to explain a bit
>more.
>Ok, the goal was to have a layout manager that could
>do positioning and sizing based on some kind of fixed
>coordinates, as well as based on relationships to
>other components.
>The examples illustrate using 1) using fixed
>coordinate positioning  2) relational positioning 3)
>simulating the behavior of other lay out managers.
>The code has the layout manager Layout, the abstract
>Constraint class, and the 3 non-public Constraint
>classes written so far.
>What is important to me is that when the finished
>product is used, it is simply a matter of adding a
>component to a container, with a simple one or two
>parameter constraint.  My other goal is that
>specialized constraints can be added on the fly.
>I hope this description helps.
>
>
>--- govind <[EMAIL PROTECTED]> wrote:
>> Hi steve,
>>
>> You can give a brief description of what the
>> example does so that it is
>> not required for somebody to go thru the code and
>> know what the test
>> program does.If i miss something or if i am wrong
>> please apologize and let
>> me know.
>>
>> Thanks and Regards
>> govind
>> At 12:04 AM 4/1/01 -0800, you wrote:
>> >Attached is source for a layout manager I am
>> working
>> >on.  Its intended to be fairly simply to use and
>> very
>> >extensible.  My approach was to write a layout
>> manager
>> >than can handle all kinds of customized constraint
>> >objects.  I want to provide a useful set of
>> constraint
>> >objects to go with it.  I've only written three so
>> >far.
>> >It's not even beta, but I would appreciate testing,
>> >suggestions, etc.
>> >SO any help would be appreciated.
>> >Thanks in advance, Steve Barrett
>> >
>> >__________________________________________________
>> >Do You Yahoo!?
>> >Get email at your own domain with Yahoo! Mail.
>> >http://personal.mail.yahoo.com/?.refer=text
>> >
>
>
>__________________________________________________
>Do You Yahoo!?
>Get email at your own domain with Yahoo! Mail.
>http://personal.mail.yahoo.com/?.refer=text
>_______________________________________________
>Advanced-swing mailing list
>[EMAIL PROTECTED]
>http://eos.dk/mailman/listinfo/advanced-swing

_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing

Reply via email to