/** * Signal that a certain rectangular region has changed * * @param x top-left x coordinate * @param y top-left y coordinate * @param w rectangle width * @param h rectangle height */ @Override public void refresh(int x, int y, int w, int h) { imagePanel.repaintImage(x, y, w, h); }