Is there a way to set the font with the text from the radio button?
class Panel1 extends JPanel{ JRadioButton rbtn1; JRadioButton rbtn2; JRadioBut