I am trying to display 3 JPanel to the west of my mainframe and a 4th panel to the east of the mainframe but I do not want to fill the entire workspace with all panels. I would like to leave the workspace area not occupied free.
I can achieve this after the fact but not on loading of the panels.
I add each frame with the following criteria:
newFrame.getContext().setInitMode(DockContext.STATE_FRAMEDOCKED);
newFrame.getContext().setInitSide(DockContext.DOCK_SIDE_WEST);
It is not clear how I can line one Frame up after another as they seem to go underneath each other.
I have also set getDockingManager().setShowWorkspace(true); in an attempt to not fill the workspace.
Are there other variables I need to user?