我的图片是存放在当前目录下的icon下面的,这样写为什么显示不出来,程序能运行,就是图片没有.
//存放图像标记:分别为数字0-8;
public static Icon icon[]={new ImageIcon("icon\1.jpg"),
 new ImageIcon("icon/1.jpg"),
new ImageIcon("icon/2.jpg"),
new ImageIcon("icon/3.jpg"),
new ImageIcon("icon/4.jpg"),
new ImageIcon("icon/15.jpg")}