public class NameRenderer extends JButton implements TableCellRenderer,ActionListener
然后给按钮直接addActionListener帧听不就得了,你想要怎样