Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem in tooltiphandler

 
abhigyaan SS
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi..
i want to display a message when the mouse cursor is placed over a button...
i think it can be done with tooltiphandler...but ia am not able to find an example using tooltiphandler..i dont know its usage..kindly help me..
 
Craig Wood
Ranch Hand
Pie
Posts: 1535
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look in the JComponent api for the method "setToolTipText".
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic