rectangle.setBackcolor(new Color(204, 204, 204));
return rectangle;
}
private JRPrintRectangle drawRectangle(int posX, int posY, int width, int height, int radius) {
rectangle = new JRBasePrintRectangle(jasperPrint.getDefaultStyleProvider());
rectangle.setX(posX);
rectangle.setY(posY);
rectangle.setWidth(width);
rectangle.setHeight(height);
rectangle.setRadius(radius);