• Post Reply Bookmark Topic Watch Topic
  • New Topic

JTable tooltip  RSS feed

 
Shivaji Bhosale
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How come we can have tooltip for a table cell, when we take a mouse over a table cell & do not click on it.
 
Rashid Ali
Ranch Hand
Posts: 349
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think for this purpose you will have to apply MouseMotionListener on your jtable class. It means when mouse pass on from the table it show the JToolTipText() in it.
I think you understand my point of view.
Do it try - i think it may be possible.
Post here your querry in case of problem.
Good luck
Rashid Ali
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can also extend DefaultTableCellRenderer, and set the ToolTip in that...

-Nate
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!