首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
与显示相关的Applet方法有【 】(),repaint()和update()。
与显示相关的Applet方法有【 】(),repaint()和update()。
admin
2010-02-22
16
问题
与显示相关的Applet方法有【 】(),repaint()和update()。
选项
答案
paint
解析
本题考查Applet的关键方法。与显示有关的方法有paint()方法、update()方法和 repaint()方法。paint()方法具体执行Applet的绘制;update()方法用于更新Applet的显示; repaint()方法用于Applet的重新显示,它调用 update()方法实现对Applet的更新,Applet程序可以在需要显示更新时调用该方法,通知系统刷新显示。
转载请注明原文地址:https://kaotiyun.com/show/tenp777K
本试题收录于:
二级Java题库NCRE全国计算机二级分类
0
二级Java
NCRE全国计算机二级
相关试题推荐
(1)建立一个文件名和表单名均为two的表单,然后为表单two建立一个名为quit的新方法(单击选择表单后,从“表单”菜单中选择“新建方法程序”命令),并在该方法中写一条语句Thisform.release;最后向表单中添加一个命令按钮(Commandl)
在考生文件夹下完成下列操作:(1)使用SOL命令根据“教师”表产生一个结构和数据完全一致的“高校教师”表,并按职工号递增排序。(2)使用报表向导为“教师”表创建一个名为two的报表,选择“教师”表的所有字段,按“职工号"降序排列,标题为
有关列表框和组合框的叙述中,正确的是()。
下列二叉树描述中,正确的是()。
以下有关数组的叙述中,错误的是()。
要设置日期时间型数据中的年份用4位数字显示,应使用下列哪条命令()。
下面关于运行应用程序的说法正确的是()。
()是一种信息隐蔽技术,目的在于将对象的使用者和对象的设计者分开。
下列4项中说法不正确的是______。
子程序通常分为两类:()和函数,前者是命令的抽象,后者是为了求值。
随机试题
下列属于重组人促红素禁忌证的是
Educationisnotanend,butameanstoanend.Inotherwords,wedonoteducatechildrenonlyforthepurposeofeducatingthe
患者男性,52岁。糖尿病史5年,1周来低热37.8℃,伴咳嗽,痰中偶带血丝,胸片示在肺中多发片状结节状明影,ESR85mm/h,痰涂片抗酸染色(+)。该患者最可能的诊断是
牙周组织破坏程度与局部刺激物的量不成比例的是()
牙周袋底位于釉牙骨质根方,从袋底到釉牙骨质界的距离称为
高桩码头工程施工组织设计编制中,“技术经济条件”包括:预制构件加工、机械设备租赁、劳动力市场情况等建设项目地区的施工能力;钢材、木材、水泥、黄沙和石子等大宗建筑材料供应情况;交通条件和()。
下列货币政策操作中,能够引起货币供应量增加的是()。
甲公司专营A地至B地的旅客运输业务。2006年11月1日,由于正值客运淡季,甲公司将一使用空调车的班次取消,购买了该班次车票的旅客被合并至没有空调的普通客车中。该批旅客认为甲公司的做法不合理,要求退还部门票款,但甲公司以近期多雨雾、路不好走,两种票价金额相
我国民法规定,法人亭有以下哪些人格权()
MoreandmoreAmericansarereadingtheirowncreditreport.Creditreportsare【B1】______bylenderstodecidehowriskyitwoul
最新回复
(
0
)