• Post Reply Bookmark Topic Watch Topic
  • New Topic

JToolTip

 
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");
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!