elaborating...
I'm creating a
test which displays an answer selection area (JPanel) which would have a series of possible answers categorized by letter.
each question would have as many as 15 possible answers to select from, or as little as three answers to select from.
I choose awt Checkbox's because JCheckBox's can not be removed or added to the JPanel at runtime.
example: (keep in mind the "|_|" are my checkboxes)
Question: 1
what is your favorite color?
Select the correct answer:
|_| A.) I like the color Blue best because it is the color of the // I'll need some to be multi-line checkboxes.
sky and
water, my favorite two things on the planet.
|_| B.) I like the color Green best because it is the color of lush
forrest and jungles and I really like to explore.
Question: 2
what is your least favorite color?
Select the correct answer:
|_| A.) Blue
|_| B.) Green
|_| C.) Yellow // I don't want checkbox 'C' to show up in the selections for Question 3.
Question: 3
Which of the previous two questions did you like most?
|_| A.) the first one
|_| B.) the second one.