return new JNodeGraphics(this);
final int x = peerComponent.getX(); final int y = peerComponent.getY(); final int width = peerComponent.getWidth(); final int height = peerComponent.getHeight(); JNodeGraphics g = new JNodeGraphics(this); g.translate(x,y); g.clipRect(0, 0, width, height);    return g;
    public Graphics getGraphics() {        /*        final Component parent = targetComponent.getParent();        if (parent != null) {            final int x = peerComponent.getX();            final int y = peerComponent.getY();            final int width = peerComponent.getWidth();            final int height = peerComponent.getHeight();            return parent.getGraphics().create(x, y, width, height);        } else {            throw new Error();        }        */        //TODO review this !!!         return new JNodeGraphics(this);    }