return new Rectangle(leftBar.x + leftBar.width, leftBar.y, bottomBar.width-leftBar.width-rightBar.width, leftBar.height);
}
public Rectangle getLayoutArea(DockbarManager mgr) {
Rectangle rect = new Rectangle();
RootWindow window = mgr==null? null: mgr.getWindow();
if(window==null)
return rect;
JLayeredPane layeredPane = window.getLayeredPane();
Component leftEdge = getEdgeGuide(mgr, MinimizationManager.LEFT);
Component rightEdge = getEdgeGuide(mgr, MinimizationManager.RIGHT);
Component bottomEdge = getEdgeGuide(mgr, MinimizationManager.BOTTOM);
Component topEdge = getEdgeGuide(mgr, MinimizationManager.TOP);