if (Toolkit.debug) {
LOG.debug("compare: " + bounds + " " + canvas);
}
if (canvas.overlaps(bounds)) {
// Canvas subCanvas = canvas.createSubcanvas();
final Canvas subCanvas =
canvas.createSubcanvas(bounds.getX(), bounds.getY(), bounds.getWidth() - 0, bounds.getSize()
.getHeight());
// subCanvas.offset(subview.getBounds().getX(), subview.getBounds().getY());
if (Toolkit.debug) {
LOG.debug("-- repainting " + subview);