Wednesday, December 7, 2011

Multiline ToolTips

Funny, never thought about it, but when using a ToolTip with NbBundle.getMessage and a property in the Bundle.properties it is of course possible to make a multipline ToolTip by using the <html> HTML tag. An two line example would be:

LBL_DeltaX_ToolTip=<html>Change in x direction in mm.<\br>Some other second line text</html>

Have this as ONE line in the Bundle.properties file.

No comments:

Post a Comment