Java applet常用来显示存储在GIF文件中的图像。Java applet装载GIF图像非常简单,在applet内使用图像文件时需定义Image对象。多数Java applet使用的是GIF或JPEG格式的图像文件。applet使用getImage方法把图像文件和Image对象联系起来。 Graphics类的drawImage方法用来显示Image对象。为了提高图像的显示效果,许多applet都采用双缓冲技术:首先把图像装入内存,然后再显示在屏幕上。 applet可通过imageUpdate方法测定一...
问大家一个问题,我用java applet显示图像,每秒钟20多帧,用appletviewer运行的时候,图像正常,很流畅,但是在浏览器中运行时,图像的刷新很慢,运行的同一个程序,怎么效果不一样啊?另外问一下在浏览器中用java applet显示图像能不能达到每秒20-30帧的速度啊?
IE 7.0 has loaded applet successfully, but it shows me a grey empty frame without any componenets like label,button or textField. I don't konw why it turned to be like this, because just this applet could not be showed correctly. So, i turn to you all for help.Thanks in advance. oh, by the way, this applet could run correctly in command console>appletviewer IdCardInfo.html applet codes...
汉字都是??,我打env看到LANG=CHinese(和zh有什么不同?) 请问各位大侠可能是哪里的设置不对? 我是新手,请大家帮忙啊 :oops: