• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 426
  • Last Modified:

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?
0
geostp
Asked:
geostp
1 Solution
 
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.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now