Images in applets

I have written an applet which includes images on buttons and labels… I would like to place this applet on a form in my notes app and allow notes users to run it when opening this form in the notes client (not a web browser). My applet and associated image resources are in a .jar file.

I’ve added the applet to the form and specified the appropriate base class and .jar file. (The jar file was added to the notes database as an applet resource.)

I get the following error when the applet tries to load:

java.lang.NullPointerException at javax.swing.ImageIcon.(ImageIcon.java:168)

Of course everything works fine in IE 6.0 and in my Eclipse IDE.

My code is:

labelImage.setIcon(new ImageIcon(this.getClass().getClassLoader().getResource(“resources/icons/beans/splashDC70.png”)));

Any ideas on how to get this to work?

Thanks,

Dave