@Override public void uninstallUI(final JComponent c) { radioButton.removeMouseListener(mouseAdapter); radioButton.removeItemListener(itemListener); radioButton.setIcon(null); radioButton = null; super.uninstallUI(c); }
@Override public Object getCellEditorValue() { btn.removeItemListener(this); return btn.isSelected(); }