Hi
I have a JTable where one cell can have maximum of 20 lines of text, in my JTable i want to show only maximum of 3 Row, and on on mouse over, show all the 20 lines,
I have defined DefaultTableCellRenderer and in it i set'
setToolTipText(value.toString());
this brings up the tool tip, when the cursor is on that row,
Now i want to show maximum of 3 rows of data, i want this component to be smart enough to show only one row, if there is less data
I looked into this post on forum, but there is a bug, in it, it the row is not selected then you get only one row,
http://forum.java.sun.com/thread.jspa?threadID=664383
Any solution to do so
Ashish