For a GUI i'm working on I need a JToolBar to be able to dock into more than one JPanel.
Because I have multiple toolbars inside a JPanel in the BorderLayout.NORTH position, I can't add the toolbar directly to the main JPanel and so I don't get access the EAST and WEST positions of the BorderLayout.
I found this thread Transfer jtoolbar from one jpanel to another but haven't been able to use the BasicToolBarUI.
What would be the best way to solve this problem? Thanks!