if (LayoutUtil.isListItem(c, box)) {
if (LayoutUtil.isListItem(box)) {
    public void paint(Context c, Box box) {        //u.p("BoxRenderer.paint " + box);        Box block = (Box) box;        // copy the bounds to we don't mess it up        Rectangle oldBounds = new Rectangle(c.getExtents());        if (block.relative) {            paintRelative(c, block);        } else if (block.fixed) {            paintFixed(c, block);        } else {            paintNormal(c, block);        }        //u.p("here it's : " + c.getListCounter());        if (LayoutUtil.isListItem(c, box)) {            paintListItem(c, box);        }        // move the origin down to account for the contents plus the margin, borders, and padding        oldBounds.y = oldBounds.y + block.height;        c.setExtents(oldBounds);        if (c.debugDrawBoxes()) {            GraphicsUtil.drawBox(c.getGraphics(), block, Color.red);        }    }