wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes How can I implement a Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "How can I implement a "tooltip"?" Watch "How can I implement a "tooltip"?" New topic
Author

How can I implement a "tooltip"?

rogelio uribe
Greenhorn

Joined: Aug 01, 2001
Posts: 14
I'm looking for a method (if one of them exists) so that I can implement a tooltip text; I mean when you put the mouse over a point on the screen for a few consecutive seconds, a text message appears on the screen, showing some helpful information about that issue. Something like toolTipText in Visual Basic.
Any ideas?


Roger
kyle amburn
Ranch Hand

Joined: Jul 29, 2001
Posts: 64
Hi-
Use the setToolTipText(String s) of the JComponent Class.
Kyle
 
Consider Paul's rocket mass heater.
 
subject: How can I implement a "tooltip"?
 
Similar Threads
custom tooltip for multiple select box without selecting option
Tooltip Text in awt components
tooltips...
Setting size of tooltip
How to implement tooltip with text box