Skip to main content

Multiline Tool-Tip How-TO ??

2 replies [Last post]
kjc5664
Offline
Joined: 2004-03-04

Is there any tips available on how to create
a Multi-line tool tip.

Thanks in advance.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Anonymous

If you are using JDK 1.2+ support HTML rendering for its components like here:
[code]
JButton button = new JButton()
button.setToolTipText("

This ToolTip is

two lines

");
[/code]

I recently found another solution at codeguru: http://www.codeguru.com/java/articles/122.shtml

kjc5664
Offline
Joined: 2004-03-04

Thanks that worked perfectly