quizBaseName = JOptionPane.showInputDialog(mainPane,"Enter Quiz Name","Quiz Name",
JOptionPane.QUESTION_MESSAGE);
if (quizBaseName == null || quizBaseName.trim().length() == 0) { return; }
// TODO Get Quiz Types from somewhere else
QuizType audioQuiz = new QuizType("Audio","aqz");
QuizType textQuiz = new QuizType("Text","tqz");
QuizType[] quizTypes = {audioQuiz, textQuiz};
QuizType quizType = (QuizType)JOptionPane.showInputDialog(mainPane,"Choose Quiz Type",
"Quiz Type Selection", JOptionPane.INFORMATION_MESSAGE, null,
quizTypes, quizTypes[0]);
if (quizType == null) { return; }
quizExt = quizType.getExtension();
quizName = quizBaseName + "." + quizExt;
manager.setQuizData(quizName,"");
quizList.setListData(manager.getQuizNames());