I created a JToolBar and placed it on a JFrame, underneath a JMenuBar.
The problem I am having is it won't connect right below the JMenuBar, there is a dotted line(not sure what it is called) between the menu bar and tool bar. Clicking on that dotted line and sliding it up a bit will connect it. Is there a way to get this behavior by default? I looked at suns tutorials and JToolBAr docs, but nothing obvious jumped out.
Also, why did I have to call SetOrientation and pass it VERTICAL to get it to lay out horizontally across the JFrame? Passing it HORIZONTAL laid it out vertically on the left side of the JFrame.
"Computer science is no more about computers than astronomy is about telescopes" - Edsger Dijkstra