Constructs a PaintEvent
object with the specified
source component and type.
Note that passing in an invalid id
results in
unspecified behavior. This method throws an
IllegalArgumentException
if source
is null
.
super(source, id);
this.updateRect = updateRect;