Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to get the data of selected row from Jtable ?

843806May 7 2007 — edited May 8 2007
Hi,

I have few queries regarding JTable.

1) I want to fetch the data of a perticular column(column name can be provided as input) of selected row in JTable.

2)When i select a row, the complete row background is getting changed to blue(what ever), but the cell which i selected is getting changed to white background color. How to fix this problem.

any snippets or suggestions is appreciated.

Regards,
Ravi Kumar
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 5 2007
Added on May 7 2007
2 comments
258 views