JTable.setColumnSelectionAllowed(false);
JTable.setRowSelectionAllowed(true);
-----Original Message-----
From: Bill Tschumy [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 30, 2001 3:52 PM
To: [EMAIL PROTECTED]
Subject: disabling drawing of cell focus in JTable
How does I go about disabling the drawing of a focus rect around the
cells in a JTable? Do I need to define my own CellRenderer or is
there something simpler?
My table is in row select mode and all I want is the row highlighted
when clicked on.
--
Bill Tschumy
Otherwise -- Austin, TX
[EMAIL PROTECTED]
_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing
_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing