首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
与显示相关的Applet方法有【 】(),repaint()和update()。
与显示相关的Applet方法有【 】(),repaint()和update()。
admin
2009-02-15
31
问题
与显示相关的Applet方法有【 】(),repaint()和update()。
选项
答案
paint
解析
本题考查Applet的关键方法。与显示有关的方法有paint()方法、update()方法和repaint()方法。paint()方法具体执行Applet的绘制:update()方法用于更新Applet的显示;repaint()方法用于Applet的重新显示,它调用update()方法实现对Applet的更新,Applet程序可以在需要显示更新时调用该方法,通知系统刷新显示。
转载请注明原文地址:https://kaotiyun.com/show/dxnp777K
本试题收录于:
二级Java题库NCRE全国计算机二级分类
0
二级Java
NCRE全国计算机二级
相关试题推荐
在考生文件夹下完成下列操作:(1)用命令新建一个名为“外汇”的数据库,并将该命令存储于one.txt中。(2)将自由表“外汇汇率”、“外汇账户”、“外汇代码”加入到新建的“外汇”数据库中。(3)用SQL语句在“外汇”数据库中新建一个数据库表rate,
(1)在“学籍”数据库中有student、score和course三个表,使用菜单设计器制作一个名为menul的菜单,菜单只有一个“查询”菜单项。该菜单项中有“按学号”、“按课程号”和“退出”3个子菜单。“按学号”和“按课程号”子菜单分别使用SQL语句的A
(1)在考生文件夹下有一个数据库“图书借阅”,使用报表向导制作一个名为tsrepo的报表,存放在考生文件夹下。要求:选择borrows表中所有的字段。报表样式为“经营式”,报表布局:列数“1”,字段布局“列”,方向“纵向”,按“借书证号”字段升序排序,报表
在考生文件夹下完成如下操作:(1)在orders表中添加一条记录,其中订单号为“0050”、客户号为“061002”、签订日期为2010年10月10日。(2)将orders表中订单号为“0025”的订单的签订日期改为2010年10月10日。(3)为o
(1)打开表单one,如图3-21所示,通过设置控件的相关属性,使得表单运行时的开始焦点在“打开”命令按钮,并且接下来的焦点的移动顺序是“关闭”和“退出”。(2)打开表单two,使用“布局”工具栏的“顶边对齐”按钮将表单中的3个命令按钮控件的顶边对齐。
设有读者(借书证号,单位,姓名,职称)和借阅(借书证号,图书编号,借书日期,还书日期)表,查询所有“工程师”读者借阅过的图书编号,正确的SQL语句是
在SQL的SELECT查询的结果中,消除重复记录的方法是
假设某表单的Visible属性的初值为.F.,能将其设置为.T.的方法是
下列关于二叉树的叙述中,正确的是
下列关于线性链表的叙述中,正确的是
随机试题
消化道平滑肌对下列哪项刺激不敏感?
下列关于临界胶束浓度的叙述中正确的是()
"亢则害,承乃制"说明了五行之间的
上颌第二、第三磨牙的牙体长轴
属于化学药与中成药配伍禁忌的是
关于法院可以在诉讼中主动依职权采取的措施中,下列说法正确的是:()
法律格言说:“不知自己之权利,即不知法律。”关于这句法律格言涵义的阐释,下列哪一选项是正确的?(2010年卷一6题)
下列有关具体审计目标的说法中,正确的有()。
“走出去”战略是我国发展的根本基点。()
The"formallearning"referstoalllearningwhichtakesplaceintheclassroomregardlessofwhethersuchlearningis______byc
最新回复
(
0
)