Help!!! problem with ImageIcon!!!
I use ImageIcon in Local's APP no problem,
image1 = new ImageIcon(cnopensource.MainFrame.class.getResource("Open24.gif"));
I make this APP into a jar for jws.
when it excute at the client, The jws console print
ava.lang.NullPointerException
at javax.swing.ImageIcon.<init>(ImageIcon.java:134)
at cnopensource.MainFrame.jbInit(MainFrame.java:108)
at cnopensource.MainFrame.<init>(MainFrame.java:99)
.......................
the "MainFrame.java:108" is
image1 = new ImageIcon(cnopensource.MainFrame.class.getResource("Open24.gif"));
everyone tell me why? How to slove this problem?
I apologized for my limited English.

