• Post Reply Bookmark Topic Watch Topic
  • New Topic

JTable- Table Cell Renderers- Urgent  RSS feed

 
Aishu Raj
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hai,
I am developing an application in JTable where I have to display dynamic datas.
At Column 0 i have a renderer with JLabel with an icon. When i click that icon(say at row 1) some rows have to inserted and the clicked row moves down(say to row 4). I need to put a different icon to column 0 of the 4 th row.
I have used DefaultTableCell Renderer and how can i set the icon at the particular row dynamically. I tried with setValue(Object,int,int).

Its also not working.

help me to find a solution as early as possible.
With Regards,
Aishu.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!