当前位置: 技术问答>java相关
一段Applet图象显示代码,不知错在哪里
来源: 互联网 发布时间:2015-04-17
本文导语: 代码如下: public class MainApplet extends Applet { Image[] m_Images; int totalImages=10; int currentImage=0; public void init(){ m_Images=new Image[totalImages]; for(int i=0;i
代码如下:
public class MainApplet extends Applet {
Image[] m_Images;
int totalImages=10;
int currentImage=0;
public void init(){
m_Images=new Image[totalImages];
for(int i=0;i
public class MainApplet extends Applet {
Image[] m_Images;
int totalImages=10;
int currentImage=0;
public void init(){
m_Images=new Image[totalImages];
for(int i=0;i