I'd like to create a toolbar that contains a Help icon justified to the far right (or bottom, if vertically aligned). Unfortunately, it doesn't look like I'm able to specify layouts in JToolBar. I have thought about putting the whole JToolBar in a JPanel, and then adding the Help icon to the East of the JPanel, but then I lose the special relationship a JToolBar has with a JFrame (such as the ability to detach or be relocated around the frame).
How can I right-justify an icon in a JToolBar?
Thanks in advance for any help!