[Tip] Using html with the dialogs plugin.
by Marcel Trapman
www.it2be.com
One of the nice things of Java is the fact that all text can be html. You can simple tag/untag it with <html></html> and you have a html formatted string. So, when you use the dialogs from the dialogs plugin you are not limited to the standard font, fontsize and fontcolors etc... Test it with the following:
plugins.dialogs.showWarningDialog("pay attention", "<HTML>Check this out!<br><br>Contact IT2BE...", "OK");
You may have noticed that I used <br> for a line feed instead of \n. This is intentional since \n will break the html and leave the rest unformatted.