Zhichao Hong writes:
 > Hi,
 > 
 > I am wondering is that possible to create Mutiple line tooltips.  By
 > default, the swing is only able to display single line tooltips.
 > 
 > 
 > Any idea is much appreciated.

I saw that JLabel and JText support a <html> prefix followed by HTML
modifiers in the string they are rendering.  I suspect this works for
tooltips too.  It is documented in the Swing 1.1 beta2 release.  I
don't know if it is in JDK 1.2.1 yet.  I think not.  No doubt someone
will cheerfully correct me if I'm wrong. :-)

-pmr


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to