Only 48 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to turn the tooltip off in JTable?  RSS feed

 
Frank Li
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I am subclassing a JTable class. How can I turn the tootip off in my class so that when the table cell gets expanded, I won't see the tooltip?
Also, How can I add a blank more space in between tow lines of text in JDialog? I always add an empty JLabel in between. new JLabel(" "); Is there any better way to do so?
Thanks,
 
VIJAY Yadlapati
Ranch Hand
Posts: 175
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have to unregister your component with ToolTipManager.
User ToolTipManager.sharedInstance().unregisterComponent() to supress tooltips.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!