Hi, its my first question! I dont speak very good english but anyway. I want your help to solve my problem... I would like to make 3 JTextAreas to work as JRadioButtons. I will make a multiple choice Test. I take data from a database and the student must select the correct Answer. I have input the Texts from database to three JTextArea and i want to change background color to selected TextArea and if the student change his choice, to another answer-textarea this textarea.backgroundColor to change . Basic i want to execute some expressions if the student press any JTextArea. What needs? I dont know if you understand me, but if yes, you will solve me one big problem. Thanks.
posted 7 years ago
I'd be inclined to keep the radioButton and build on a textArea.