This week's book giveaway is in the Java in General forum. We're giving away four copies of Helidon Revealed: A Practical Guide to Oracle’s Microservices Framework and have Michael Redlich on-line! See this thread for details.
I need to insert JRadioButton to Cell in JTable. I can insert JCheckBox, JComboBox, JTextFeild to JTable, but DefaultCellEditor hasn't editor for JRadioButton.
I believe radio buttons don't work alone, they work in groups. Have you tried adding the radio buttons to a ButtonGroup, then adding the ButtonGroup to the cell using the add method?
Give a man a fish, he'll eat for one day. Teach a man to fish, he'll drink all your beer.
Cheers, Jeff (SCJP 1.4 all those years ago...)
I need to insert JRadioButton to Cell in JTable. I can insert JCheckBox, JComboBox, JTextFeild to JTable, but DefaultCellEditor hasn't editor for JRadioButton.