ok. my JLabel code looks like this
JLabel searchResult = new JLabel (" <html> Type something in the searchbar. <br>" + " Type what yo would like to search and suggestions will pop up in this text box </html>");
which seems to be correct according to your example, but it doesn't seem to work.