How can I have multiple toolbars in a JPanel which can be positioned anywhere in the JFrame, can float, and be able to dock on the same band?

Jay Detwiler

The simple answer to this is no, not in 1.2. I've experimented with this, but there are way too many bugs for it to be worth it, IMHO.

Because it's based on the BorderLayout you can't have more than one toolbar in the same region but the controller doesn't limit this so you can get very strange behavior when floating and redocking toolbars. Toolbars may disappear or empty regions may not get repainted. It's best to avoid this until support for it is documented.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact