Table cell renderers only supply the 'look' of the cell. They don't respond
to mouse or keyboard input. You'll need to create a custom table cell
editor. Take a look at the Geary or the Zukowski swing books for an example
of a custom button cell editor.

-----Original Message-----
From: Bharat Dighe [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 20, 2001 6:11 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Button in the JTable cell


Hi Folks,

I want to put buttons in the table cells.
I wrote a renederer extended from JButton, it gives me a button look but
does not give a click effect ( show pressed on mouse
click ).

Should I do something more ? Any clues or sample code ?

Thanks
- Bharat


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

_______________________________________________
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

Reply via email to