> I was just thinking that mabie it would be cool to write my own layout
> manager. What kinds of ideas do u guys have for it?
First idea: Don't. See if what you want to do is possible with existing
layout managers. I've tried to write LMs myself, and found it a
difficult task.
Second idea: Look at existing implementations, and try to recreate them.
That will give you a good idea of the complexities of implementing them.

Signature
Daniel Pitts' Tech Blog: <http://virtualinfinity.net/wordpress/>
Chase Preuninger - 31 Dec 2007 00:53 GMT
One Idea I had is a more dynamic version of GridLayout, but just more
simple than GridBag. It is where different columns can have different
widths, and different rows can have different heights. Could be used
to make forms.
IchBin - 31 Dec 2007 15:08 GMT
> One Idea I had is a more dynamic version of GridLayout, but just more
> simple than GridBag. It is where different columns can have different
> widths, and different rows can have different heights. Could be used
> to make forms.
Take a peek at JGoodies Forms layout manager. Personally I use this
instead of Sun's layout managers. Very dynamic..
http://www.jgoodies.com/downloads/libraries.html
-
Thanks in Advance... http://weconsulting.org
IchBin, Philadelphia, Pa, USA http://ichbinquotations.weconsulting.org
_________________________________________________________________________
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
On Sun, 30 Dec 2007 12:11:46 -0800 (PST), Chase Preuninger
<chasepreuninger@gmail.com> wrote, quoted or indirectly quoted someone
who said :
>I was just thinking that mabie it would be cool to write my own layout
>manager. What kinds of ideas do u guys have for it?
It is surprisingly easy. See http://mindprod.com/jgloss/layout.html

Signature
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
Roedy Green - 31 Dec 2007 22:59 GMT
On Mon, 31 Dec 2007 12:43:58 GMT, Roedy Green
<see_website@mindprod.com.invalid> wrote, quoted or indirectly quoted
someone who said :
>It is surprisingly easy. See http://mindprod.com/jgloss/layout.html
You are getting conflicting advice. Writing a replacement for
GridBagLayout would be tough, but writing one for example to layout
components an a circle is quite easy.

Signature
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
> I was just thinking that mabie it would be cool to write my own layout
> manager. What kinds of ideas do u guys have for it?
Writing a custom layout manager isn't that difficult.
However, in the vast majority of design cases, one
of the existing layout managers or layout systems should
be able to implement the design you want or need.
If you have a design corner case check out the
ExplicitLayout which is one of the most powerful
layout managers (although it isn't always the most
useful LM).
-Karsten