Ejemplo n.º 1
0
 public void repaint(Rectangle dirtyBounds) {
   if (panel != null && panel.getRoot() != null) {
     Point location = panel.getAbsoluteLocation();
     dirtyBounds.translate(location.x, location.y);
     panel.getRoot().addDirtyRegion(dirtyBounds);
   }
 }
Ejemplo n.º 2
0
 public void repaint() {
   if (panel != null && panel.getRoot() != null)
     panel.getRoot().addDirtyRegion(panel.getAbsoluteBounds());
 }