Re: JTable selection
- From: "Rob McDonald" <robm@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 15 Nov 2005 17:03:37 -0500
> Right now, the selected cell in my JTable is indicated with a little box.
> And, its entire row is colored blue....
>
> I find that this draws too much attention to the row, and not enough
> attention to the individual selected cell.
>
> How can I turn off the row highlighting, leaving just the cell
highlighted?
Got it...
table.setRowSelectionAllowed(false);
table.setColumnSelectionAllowed(false);
table.setCellSelectionEnabled(true);
Rob
.
- References:
- JTable selection
- From: Rob McDonald
- JTable selection
- Prev by Date: JTable selection
- Next by Date: Sr. Systems Analyst- National Institutes of Health-JAVA and C++
- Previous by thread: JTable selection
- Next by thread: Sr. Systems Analyst- National Institutes of Health-JAVA and C++
- Index(es):
Relevant Pages
|