Hi,
I wrote an application and now I'm making a tray-icon. Now I want to set a multi-line tooltiptext to the tray-icon. But I don't know how. I know how to do this with Swing:
component.setToolTipText("<html>Line 1<br>Line2</html>");
But this doesn't work with AWT. Also serarating lines by \n
doesn't work.
I'm running on linux:
Ubuntu 10.04
Kernel Linux 2.6.32-22-generic
GNOME 2.30.0
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8) (6b18-1.8-0ubuntu1)
OpenJDK Server VM (build 14.0-b16, mixed mode)
Any help would be very appreciated.
Thanks