Referencing Images In Java

I’m trying to embed a java applet into a form for use within the Notes client. I’ve added the required parameters and it’s working fine, except it can’t find images which are referenced in one of the parameters

The parameter is below:

"<default

        Text-Size='10'

        Text-Color='ffffff'

        Shift-Pause='7000'

        Shift-In-Effect='slide-up'

        Padding-Top='15'

        Background-Image-Repeat='true'

        Background-Color='000000'

        Border-Color='aaaa9a'

        Border-Type='full'>

     <h Text-Size='12'

        Text-Color='84a5d5'

        Padding-Top='6'>

     </h

        Padding-Bottom='3'>

     <fullstory

        Text-Color='ffcc00'

        Text-Color-Over='ffffff'

        Text-Color-Click='ffffff'

        Padding-Top='3'

        Line-Break='true'

        Align='right'>

     <markets

        Section-Header='true'

        Background-Image='agfx/Nightfall2.gif'>

     <study

        Section-Header='true'

        Background-Image='agfx/Nightfall3.gif'>

     <weather

        Section-Header='true'

        Background-Image='agfx/Nightfall4.gif'>"

When I preview the form the applet displays the error:

unable to load image ‘notes://SERVERNAME%2fDOMAIN/Live/dbname.nsf/Nightfall2.gif’

and repeats this for the 3 images. The SERVERNAME and DOMAIN above are obvious substituted for my own environment but the %2f is present in the error.

The zip file I downloaded which had the applet in it also contained the “agfx” folder which contained the jar and class file. I have added this whole folder to the applet in Designer but still having no luck

I have never coded in Java before or used an applet so I’m learning as I’m going along. When I created the applet in the database I added the images along with the jar and class file, but when it didn’t work I added them as image resources as well, but this made no difference.

What am I doing wrong?

Thanks