Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

java  RSS feed

 
meenu gupta
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i want to wrap the content of one cell in the no of rows in that cell itself . for p[rinting purpose ,
how to do it?
 
Rajesh Adukkadukkath
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hai meenu,
You just go to the Class which is extending the AbstractTableMode and try by giving some modifications in the getValueAt() and setValueAt() methods as explained.Inside the particular setValue(int rowno,int colno) method you just set the value rowno+1 for the partcular vector.Inside the getValueAt(int rowno,int colno)
you just give
return rowno+1;
for the parcular column of the vector.
with regards
rajesh adukkadukkath
[This message has been edited by rajesh adukkadukkath (edited May 21, 2001).]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!