I am trying to change JButton text on mouse click, the JButton is rendered in a JTable.
JButton text gets changed for that JButton but it is not reflected in JTable..
Can any one tell where am i going wrong???
Your concept of a renderer is wrong. A renderer is used to display the data found in the TableModel.
So your renderer needs to set the text of the button based on the data in the TableModel. If you want to change the text that is displayed on the button then you need to update the TableModel to the new text value. Then you tell the table to repaint that cell and your renderer will automatically pick up the new text from the model.