That does not work (for me at least).  Those calls control what is 
highlighted, but not whether the cell gets focus.


At 3:55 PM -0400 4/30/01, Mahrt, Dallas wrote:
>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

-- 
Bill Tschumy
Otherwise -- Austin, TX
[EMAIL PROTECTED]
_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing

Reply via email to