chapter5javaapplet内容摘要:

11. public void paint ( g) { 12. (s, 5, 30)。 13. } 14. } Example:last user click point con. avoid clearing the screen. a list of all user click points. 网页中调用 APPLET类  “” 1. html 2. h1 Applet Demonstration /h1 3. This is a “Hello World” applet. 4. hr 5. APPLET code=HelloWorld height=100 width=200 6. /APPLET 7. hr 8. A href=“”The source./a 9. /html applet Tag 网页中 APPLETS的参数表示 1. html 2. body 3. applet code=ColorsApplet width=400 hight=100 4. param name=Color value=Blue 5. /applet 6. /body 7. /html  参数有:  名称 (string类型 )  值 (string类型 ) APPLETS读取网页中的参数 1. import。 2. import . *。 3. public class ColorsApplet extends Applet { 4. Color c =。 5. Font f = Font (“TimesRoman” , , 72)。 6. public void init。
阅读剩余 0%
本站所有文章资讯、展示的图片素材等内容均为注册用户上传(部分报媒/平媒内容转载自网络合作媒体),仅供学习参考。 用户通过本站上传、发布的任何内容的知识产权归属用户或原始著作权人所有。如有侵犯您的版权,请联系我们反馈本站将在三个工作日内改正。