if(dimension == -1)
if(collapsed) { if(position.equals(DockableWindowManager.LEFT) || position.equals(DockableWindowManager.RIGHT)) prefSize.width = 5; else if(position.equals(DockableWindowManager.TOP) || position.equals(DockableWindowManager.BOTTOM)) prefSize.height = 5; } else if(dimension == -1)
		public Dimension getPreferredSize()		{			if(/*tabbedPane.*/getComponentCount() == 0)				return new Dimension(0,0);			Dimension prefSize = super.getPreferredSize();			if(dimension == -1)			{				if(position.equals(DockableWindowManager.LEFT)					|| position.equals(DockableWindowManager.RIGHT))					dimension = prefSize.width;				else if(position.equals(DockableWindowManager.TOP)					|| position.equals(DockableWindowManager.BOTTOM))					 dimension = prefSize.height;			}			else if(collapsed)			{				if(position.equals(DockableWindowManager.LEFT)					|| position.equals(DockableWindowManager.RIGHT))					prefSize.width = 5;				else if(position.equals(DockableWindowManager.TOP)					|| position.equals(DockableWindowManager.BOTTOM))					prefSize.height = 5;			}			else			{				if(position.equals(DockableWindowManager.LEFT)					|| position.equals(DockableWindowManager.RIGHT))					prefSize.width = dimension;				else if(position.equals(DockableWindowManager.TOP)					|| position.equals(DockableWindowManager.BOTTOM))					prefSize.height = dimension;			}			return prefSize;		}