单项选择题

每当浏览器的用户离开applet所在的HTML页时都调用()方法。

A.pause
B.repaint
C.stop
D.paint