if (getStyle().isHidden()) {
if (! getStyle().isVisible()) {
    public void paintBackground(RenderingContext c) {        if (!Configuration.isTrue("xr.renderer.draw.backgrounds", true)) {            return;        }                if (getStyle().isHidden()) {            return;        }                Color backgroundColor = getStyle().getCalculatedStyle().getBackgroundColor();        Image backgroundImage = getBackgroundImage(c);                if ( (backgroundColor == null || backgroundColor.equals(TRANSPARENT)) &&                backgroundImage == null) {            return;        }            Rectangle backgroundBounds = getPaintingBorderEdge(c);        if (getState() != Box.DONE) {            backgroundBounds.height += c.getCanvas().getHeight();        }                if (backgroundColor != null && ! backgroundColor.equals(TRANSPARENT)) {            c.getGraphics().setColor(backgroundColor);            c.getGraphics().fillRect(backgroundBounds.x, backgroundBounds.y, backgroundBounds.width, backgroundBounds.height);        }            int xoff = 0;        int yoff = 0;                if (backgroundImage != null) {            Shape oldclip = (Shape) c.getGraphics().getClip();                if (getStyle().isFixedBackground()) {                yoff = c.getCanvas().getLocation().y;                c.getGraphics().setClip(c.getCanvas().getVisibleRect());            }                c.getGraphics().clip(backgroundBounds);                int imageWidth = backgroundImage.getWidth(null);            int imageHeight = backgroundImage.getHeight(null);                Point bgOffset = getStyle().getCalculatedStyle().getBackgroundPosition(backgroundBounds.width - imageWidth,                    backgroundBounds.height - imageHeight, c);            xoff += bgOffset.x;            yoff -= bgOffset.y;                tileFill(c.getGraphics(), backgroundImage,                    backgroundBounds,                    xoff, -yoff,                    getStyle().isHorizontalBackgroundRepeat(),                    getStyle().isVerticalBackgroundRepeat());            c.getGraphics().setClip(oldclip);        }    }