JToolbar is hidden by JMenu

Posted by pierre on Stack Overflow See other posts from Stack Overflow or by pierre
Published on 2010-05-16T17:08:09Z Indexed on 2010/05/16 18:10 UTC
Read the original article Hit count: 297

Filed under:
|
|
|
|

I'm using Netbeans to add a JToolbar to my window which also has a JMenuBar. Here is the design-time look: alt text

.. but during run-time I get this:

alt text

With the toolbar seemingly partially hidden under the menu names. This is on the Mac, btw. Is there something stupid I've forgotten to do or some layout trick I should be using?

EDIT: I'll add that the area below the toolbar is a SplitContainer.

© Stack Overflow or respective owner

Related posts about java

Related posts about swing