Revalidate and repaint