[填空题] 与显示相关的Applet方法有______(),repaint()和update()。
正确答案:paint
参考解析:本题考查Applet的关键方法。与显示有关的方法有paint()方法、 update()方法和repaint()方法。paint()方法具体执行 Applet的绘制;update()方法用于更新Applet的显示;repaint()方法用于Applet的重新显示,它调用 update()方法实现对Applet的更新,Applet程序可以在需要显示更新时调用该方法,通知系统刷新显示。


![[填空题] 与显示相关的Applet方法有 [填空题] 与显示相关的Applet方法有](http://www.mshxw.com/aiimages/31/587058.png)
