前者一般只是重画自己;
后者一般连父容器也要重画。详细说明看下面:
摘录java.awt.Component/-----------------------------
validate()
/-----------------------------------------------
Invalidates this component.  This component and all parents above it are ed as needing to be laid out.  This method can be called often, so it needs to execute quickly.
/-----------------------------
repaint()
/----------------------------
This method causes a call to this component's update method as soon as possible