java - JToolbar is hidden by JMenu -


I am using NetBeans to add JToolbar to my window, which also has a JMUubar. Here's the design-time look:

.. But during run-time I get this:

partial under menu name with toolbar Hidden from the form It's on the Mac, is there a bit stupid Btw that I forgot to do or should I use some layout tricks?

Edit: I will add that the area below the toolbar is a split constant.

I think this problem may actually be that the toolbar is not devoid of the menu (which That is not part of the menubar because it is not highly likely the content pane of a frame), but too small you can use setMinimalSize on the toolbar object after initComponents () or matisse the minimum size for the toolbar in the preferences of the component Can set.


Comments