I would like to make a structure with the condition (if-else) RadioButton
RadioButton
I want that when the Radiobutton RB1 is selected, this function is ac
if(jRadioButton1.isSelected()){ jTextField1.setText("Welcome"); } else if(jRadioButton2.isSelected()){ jTextField1.setText("Hello"); }