How to determine 'location' of a JToolBar?
I have a floatable JToolBar. By default, it would be added to BorderLayout.SOUTH. However, some users might drag it elsewhere. So, when the user closes my application, I want to 'remember' where the user dragged the toolbar (whether North, South, West, or East) so that the next time the user opens it, I add it in the same area where he last dragged it.
How do I know which "area" the JToolBar is?

