Add title to a cell in JTable

Help please, i need to add a title note (like in excel) to a specifict cell in a JTable.Can anyone tell me how to do it?
[134 byte] By [javapnunesa] at [2007-11-26 16:56:43]
# 1
Do you mean you need to add a comment to a cell?Read in tutorial how to use a custom renderer: http://java.sun.com/docs/books/tutorial/uiswing/components/table.html#renderer
Rodney_McKaya at 2007-7-8 23:24:26 > top of Java-index,Desktop,Developing for the Desktop...
# 2
Yes, i need to add a comment which is read upon the moving of the mouse in that cell, because text is bigger that the cell size, and i want to put the text in that cell. Can you give me an example?
javapnunesa at 2007-7-8 23:24:26 > top of Java-index,Desktop,Developing for the Desktop...
# 3
You will need to use a custom renderer and a tooltip.Here's an example: http://www.exampledepot.com/egs/javax.swing.table/CustRend.html
Rodney_McKaya at 2007-7-8 23:24:26 > top of Java-index,Desktop,Developing for the Desktop...
# 4
Thanks! That's it!
javapnunesa at 2007-7-8 23:24:26 > top of Java-index,Desktop,Developing for the Desktop...