填空题 与显示相关的Applet方法有 12、repaint3和update4

  • 1、
【正确答案】 1、paint    
【答案解析】[解析] Applet是Component类的子类,继承了Component类的构件绘制、显示的方法,具有一般AWT构件的图形绘制功能。它包含的方法有:paint---|||________|||---方法,具体执行Applet的绘制;update---|||________|||---方法,用于更新Applet的显示;repaint---|||________|||---方法,主要用于Applet的重新显示,它调用update---|||________|||---方法实现对Applet的更新。