boolean (@NotNull JComponent component, long tm, int x, int y, int width, int height) { // checks if repaint manager should mark row of tree or table // and mark we need to repaint both components together, // otherwise super repaint boolean isNeedToRepaintRow = component.getWidth() == width; if (isNeedToRepaintRow) { repaint(tm, 0, y, this.getWidth(), height); } return isNeedToRepaintRow; }