• Post Reply Bookmark Topic Watch Topic
  • New Topic

Preventing Floating ToolBar to be attached in other regions

 
Cleverson Schmidt
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys

I have a JPanel with its layout set to BorderLayout.
On the WEST region I have a floatable JToolBar. What I want to do is to prevent this floatable to be attached in other regions of my JPanel other than the WEST region. My application looks very ugly when the user detachs the JToolBar from the WEST region a attach it in the NORTH. Is it possible to prevent that?
I don't want to prevent the user to detach the tool bar, just prevent him to reatach it to other regions of my JPanel.
Thank you in advance.

Cleverson
 
Cleverson Schmidt
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
no way to do so?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!