I have a custom the draggable JToolBars, added to the regions NORTH, EAST and WEST a JPanelwith BorderLayout. When the application exits, I would like to save the region in which the user is docked JToolBarsto comply with this preference the next time the application starts.
I took a look at the approach to listening for property changes and tried to get an instance of BorderLayoutin JPaneland asking for restrictions on each added component, but I could not find the information I needed. I also spent the source code, and most of the user drag and drop seems to be delegated to the user interface, and I'm struggling to keep the context when I read everything.
Any Swing fans know the answer here please
source
share