• Post Reply Bookmark Topic Watch Topic
  • New Topic

JToolTip  RSS feed

 
Alex Iordache
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it possible to have a custom tool tip other than the JToolTip Provided ?
if so can any of experts pls guide me ,how to do it.
a small example would be appreciated
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Component has a method setToolTipText(String text) to do that.
button.setToolTip("Help Me");
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!