正在加载图片...
JAvA applet传递参数 o向 applet传递参数的两个步骤 1)在起始页中要有< PARAM>标签 2)在 applet中要有 getParameter方法 ○在起始页中有 <applet code=showdate width=600 heigt=80> param name= em value=“时间是:"<ape 在 applet中有: string title=getParameter(rem) 在显示时间的命令中加入ite g drawString(title+timeNow tostring, 5, 50); JAVAapplet传递参数 向applet传递参数的两个步骤 1) 在起始页中要有<PARAM>标签 2) 在applet中要有getParameter方法 在起始页中有: <applet code=Showdate width=600 heigt=80> <param name=rem value=“时间是: ”</applet> 在applet中有: string title=getParameter(rem); 在显示时间的命令中加入title: g.drawString(title+timeNow.toString(),5,50);
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有