One thing comes to my mind is we can reduce the complexity by having one action listener for the entire toolbar.We can add anything to the toolbar like combobox, checkbox, image, etc.,Lets c what are all the benefits from others, Thanks,Looking forward, Jana
The "setFloatable" method make the toolbar can be drag from it's container into a alone window. The benefits that you use JToolBar is it can layout it's button, add separator,flat border like Internet Explorer,etc. It can reduce your many code, and toolbar is used by too many application.