If you have a look at the simple example on the help page: http://dock.javaforge.com/help.html, you can see that there is space around the red, blue, yellow and green Dockable’s. I mean the space around the four Dockable’s and not between. And as you see in the demo code frame.add( control.getContentArea() );
the border/spacing must have been set on the content area.
Problems are:
It looks not nice.
If you click on the empty greey space, the currently active Dockable window is loosing the focus, so no Dockable has a focus anymore.
Is it possible to remove this space or setting an empty border? Or could I disable the fokus for the space?
This empty space are four FlapDockStations used to show minimized Dockables. They have a size > 0 because users should be able to drag Dockables to these stations. Unfortunatelly their size is hardcoded (you are not the first to ask. I’ll change this right now and check it into the repository). For now you either live with it, manually change the LayoutManager of the JComponent which represents the CContentArea, or use a CGridArea instead of a CContentArea (but then you don’t have any place to minimize Dockables).
[Edit: in the next version, which won’t be finished this weekend but is not very far away, the CContentArea contains a new method “setMinimumAreaSize” with which the size of the border can be set]