By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,557 Members | 1,184 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,557 IT Pros & Developers. It's quick & easy.

Selecting a row in a JTable

P: n/a
asd
When I click on a cell, I'd like the whole row to be highlighted,
INCLUDING the selected cell. I've tried using the following code to no
avail:

setCellSelectionEnabled(false);
setColumnSelectionEnabled(false);
setRowSelectionEnabled(true);

Help would be much appreciated.

Prefer replies to td***@perfectsolve.com

Thanks.
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On Thu, 13 May 2004 15:46:45 GMT, <as*@asd.com> wrote:

I suppose this will help you?
http://www.cs.cf.ac.uk/Dave/HCI/HCI_...R/node167.html
When I click on a cell, I'd like the whole row to be highlighted,
INCLUDING the selected cell. I've tried using the following code to no
avail:

setCellSelectionEnabled(false);
setColumnSelectionEnabled(false);
setRowSelectionEnabled(true);

Help would be much appreciated.

Prefer replies to td***@perfectsolve.com

Thanks.


--
// Daniel Jensen Aka. Daniboy
Da******@456believeit131hotmail.com
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.