>> In another thread that bogged down with flammage, the OP was asking for a
>> simple piece of common GUI functionality: multiple docking toolbars. I
[quoted text clipped - 15 lines]
>add two toolbars at north, east , west and south (well at least, the visual
>effect will look like that).
Thanks. I knew about using BorderLayout for docking toolbars, but didn't
realize you could have more than one that moved around to the 4 edges.
The question was about having multiple toolbars along one edge, sometimes in
more than one row; a lot of normal Windows programs do that, e.g. MS Word,
Adobe Acrobat Reader.

Signature
"Yo' ideas need to be thinked befo' they are say'd" - Ian Lamb, age 3.5
http://www.cs.queensu.ca/~dalamb/ qucis->cs to reply (it's a long story...)
Steve W. Jackson - 18 Apr 2005 16:39 GMT
> >> In another thread that bogged down with flammage, the OP was asking for a
> >> simple piece of common GUI functionality: multiple docking toolbars. I
[quoted text clipped - 21 lines]
> more than one row; a lot of normal Windows programs do that, e.g. MS Word,
> Adobe Acrobat Reader.
I've got an app that displays two toolbars by default (one at the top,
the other at left), and may have a third and even a fourth. All are set
to allow floating, so it's possible to have any or all of them moved to
a side where one already resides.
The tricky part, I found, is mainly dependent on what's on those
toolbars. I have one that defaults to a vertical display at left and
has two columns of buttons. It took far more work than I liked to be
able to ensure that those columns of buttons became a proper pair of
button rows when docked at top or bottom (that is, when the orientation
changed). But the one that displays at the top, horizontally, creates
appearance issues if moved to a vertical location because one of the
items on it is a slider -- thus making it wider (when vertical) than I'd
like and having a less than ideal appearance.
But it does work. And I can move them around freely. The trick was
that I had to put together multiple JPanels with BorderLayout used and
designated locations for the default toolbar locations in certain
panels. A little care is needed, but it's certainly doable.
= Steve =

Signature
Steve W. Jackson
Montgomery, Alabama