Re: click a button in a JTable



> Well the event does not get fired, in fact when clicking the button
> doesn't even get pained as "pressed".

Yes, this is "correct" behavior, by which I mean this is as it's
apparently supposed to be, though it would be nice if it weren't. The
Component returned by a TableCellRenderer is only used by the JTable so
it knows how to draw that particular cell, it doesn't treat the
returned Component as an object (which is very considerate of the table
wouldn't you say? ;-) that can receive events and such.

Here is a previous thread that discussed this:
http://groups.google.com/group/comp.lang.java.programmer/browse_frm/thread/10de386ca83da9f2/c578b71789228f97?lnk=st&q=jtable+jbutton+group%3Acomp.lang.java.*&rnum=1&hl=en#c578b71789228f97

.