JTOOLBAR DOCKING

How to make Swing Toolbar dockable? It is floating like anything in my program?
I can drag the toolbar out of the window? How to make it dockable?
geostpAsked:
Who is Participating?
 
evijayCommented:


to remove dockability
toolBar.setFloatable(false);


go to
http://java.sun.com/docs/books/tutorial/ui/swing/toolbar.html
for more info
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.