Posted on 2006-05-08
I am working with the JToolBar and I understand that I can make the component floatable and dock able with this command "toolBar.setFloatable(true);"
Question - how do I make the toolbar start in a floatable state? This code "toolBar.setFloatable(true);" allows me to drag the toolbar out of it boarder layout and into a floatable state, but I would rather it start in its floatable state and not be dock able.
Is there a startState = floating command and a dockable = false command for the JToolBar?