} */
    public void setSize(Dimension d) {        XRLog.layout(Level.FINEST, "set size called");        super.setSize(d);        if (doc != null)            RenderQueue.getInstance().dispatchLayoutEvent(new ReflowEvent(ReflowEvent.CANVAS_RESIZED, d));    }