Problem with JLabel, html content and images

I want a JLabel to show some HTML code i have. At first sight is easy, just putting the HTML code with setText(), but then i have the problem that the images are not loaded properly. If in the tag image i put the src property like "http://www.zerjio.com/myimage.gif", it works, but the problem is that the image will not be online but in my hard disk, in the same directory as the application starts. Anyone know what should i put in the HTML code to make the JLabel find the image in my HD?.

Thanks in advance.

[531 byte] By [Zerjio] at [2007-9-26 20:03:27]
# 1

Having a similar problem loading an image into a JLabel from a subdirectory of the directory the program launches from.

Working on the tutorial Building and Application Diver Log - Part II compiles and runs fine but the images don't load.

if use / as file discriptors comples, in the MS-Windows the \ are used but compile with error message of wring excape code?

DrJackson at 2007-7-3 17:49:57 > top of Java-index,Archived Forums,Java Programming...
# 2

Having a similar problem loading an image into a JLabel from a subdirectory of the directory the program launches from.

Working on the tutorial Building and Application Diver Log - Part II compiles and runs fine but the images don't load.

if use / as file discriptors comples, in the MS-Windows the \ are used but compile with error message of wrong escape code?

DrJackson at 2007-7-3 17:49:57 > top of Java-index,Archived Forums,Java Programming...