I'm trying to figure out how to pull from a list of questions and then output them using JTextArea. Right now I'm stuck trying to figure out how to randomly select from the list and then output it. This is what i have so far.
public static void Question()
{
String[] quest = {"place", "hold", "er"};
int[] questNum = {1, 2, 3};
JTextArea question = new JTextArea(6, 20);
question.setText("Question " + questNum + quest);
}