paintContent method not in Vaadin 7

Our project has an add-on which has classes extend from CustomComponent & AbstractComponent and they override the method

public void paintContent(PaintTarget target) throws PaintException {


and this method does not seem to be in Vaadin 7 anymore.

What should we use in order to paint / repaint ?