Hi, I am trying to display a JLabel which has a few lines of text and an image as follows:
String html = "<html> hello </br> <img src = \"/absolute/path/here\" height = \"30\" width =\"40\"/> </html>";
JLabel l = new JLabel(html);
For the image all I get is a broken image, is it possible to nest img tags inside a JLabel?
EDIT: I want to add multiple images to the JLabel so I don't think the use of an ImageIcon will do here.
Thanks