hi i am using java to make a quiz... i am using JFrame and have radio buttons so the user can give his answer. For example:
Who co-stared with Leonardo Dicaprio in the movie Titanic?
Kate winslett.
No i have a radio button in front of it and i have four options. I want to tell the user if its a right or wrong. I wanna compare compare the answwer with the radiobutton he clicked? how do i do that since they are incomparable types?