invalidate:
Invalidates this component. This component and all parents above it are marked as needing to be laid out. This method can be called often, so it needs to execute quickly
repaint:
Repaints the specified rectangle of this component.
This method causes a call to this component's update method as soon as possible.