the source code :
if(jb1.isSelected()){
System.out.println("LAKI-LAKI");
}
else if(jb2.isSelected()){
System.out.println("PEREMPUAN");
}
jb11=jb1.getText();
jb22=jb2.getText();
textarea.setText("NIM : " + nim1 + "\n"+ "NAMA : " + nama1 + "\n" + "Jenis Kelamin : " + buttonGroup1);
}
what i want is when i select the radio button it will show in text area, how to do that?
