Hi,
I'm not sure how I can go about replacing a JButton with a JRadioButton when the JButton is clicked. So say if I had Jpanel set as a gridlayout which lays out 4 rows (3 JLabels and a JButton). So when the user clicks the JButton, that JButton will be replaced with a JRadioButton.
Would I use a CardLayout for this purpose, or is there a simple way in replacing that JButton?
Thanks, much appreciated