Hi,

    I was just trying to add multiple images to a jlabel...
My thought was to just set the label as html text, and add an <img> tag
for the extra image.
The only problem is that each variation below:
     label=new JLabel ("<html><img src=\"cup.gif\">Hello", image);
     label=new JLabel ("<html><img src=\".\\cup.gif\">Hello", image);
     label=new JLabel ("<html><img
src=\"file://c|/myproject/src/cup.gif\">Hello", image);
    ... each displays the default "image not found" image, even though cup.gif
really should
be accessible all three ways!

   Has anyone messed with this, or am I just overlooking something stupid?

-KC Eilander



_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing

Reply via email to