private void xmlWriteCompoundDockable(CompoundDockable dockable,
			PrintWriter out) throws IOException {
		out.println("<Dockable compound=\"true\">");
		DockKey key = dockable.getDockKey();
		out.println("<Key dockName=\"" + key.getKey() + "\"/>");
		CompoundDockingPanel cdp = (CompoundDockingPanel) dockable
				.getComponent(); // no choice here
		if (cdp.getComponentCount() > 0) {
			// compound panels cannont have more than one child
			// (split/tab/single)
			Component child = cdp.getComponent(0);
			xmlWriteComponent(child, out);
		}

		out.println("</Dockable>");
	}