6

How to disable dragging of JToolbar? I placed it in a BorderLayout. I tried finding a method. Is there such a method ? THanks

Philip Morris
  • 459
  • 1
  • 9
  • 26

1 Answers1

21

I think you are looking for:

toolBar.setFloatable( false);
camickr
  • 321,443
  • 19
  • 166
  • 288