没有啊,我看到的都能显示啊,
2006-05-13 23:40
2006-05-14 10:19
是的但是打包之后就不可以了
但是如果把这个方法去掉就可以正常显示 是不是写的有错误呢
public class Background extends JPanel
{
public void paintComponent(Graphics g)
{
super.paintComponent(g);
ImageIcon img = new ImageIcon(ClassLoader.getSystemResource("images/t5.JPG"));
g.drawImage(img.getImage(), 0, 0, null);
}
}

2006-05-14 10:55

2006-05-14 12:10
2006-05-14 12:13
2006-05-14 12:42
2006-05-14 13:04
2006-05-14 14:43
2006-05-14 15:42
2006-05-14 18:19