I am trying to add jRadioButton into jTable. I used the given code
private class CustomCellRenderer extends DefaultTableCellRende
getTableCellRendererComponent method. Instead, always return the same component, but modify it according to the value. This is possible since the returned component is merely used as a 'stamp' and not added directly to the Swing hierarchy. See the Renderers and Editors section in the tutorialAlso, consider using a JCheckbox instead of a radiobutton. In that case you can simply stick to the default renderer / editor when your TableModel contains boolean values