File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT / JFace and the fly likes JTable- Table Cell Renderers- Urgent Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT / JFace
Reply Bookmark "JTable- Table Cell Renderers- Urgent" Watch "JTable- Table Cell Renderers- Urgent" New topic
Author

JTable- Table Cell Renderers- Urgent

Aishu Raj
Greenhorn

Joined: Sep 06, 2001
Posts: 3

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.
 
 
subject: JTable- Table Cell Renderers- Urgent
 
Threads others viewed
JTable
jtable
Color in JTable
JTable
JTable
MyEclipse, The Clear Choice