return getContext().newContextInstance(extents);
Context result = getContext().newContextInstance(extents); result.setInteractive(isInteractive()); return result;
    private Context newContext(Graphics2D g) {        XRLog.layout(Level.FINEST, "new context begin");        getContext().setCanvas(this);        getContext().setGraphics(g);        Rectangle extents;        if (enclosingScrollPane != null) {            Rectangle bnds = enclosingScrollPane.getViewportBorderBounds();            extents = new Rectangle(0, 0, bnds.width, bnds.height);            // Uu.p("bnds = " + bnds);        } else {            extents = new Rectangle(getWidth(), getHeight());//200, 200 ) );        }        getContext().setMaxWidth(0);        XRLog.layout(Level.FINEST, "new context end");        return getContext().newContextInstance(extents);    }