private void jButton1ActionPerformed(ActionEvent evt) {
        // OK button
    	if (file == null){JOptionPane.showMessageDialog(null, "No file selected!"); return;}
    	if (jCheckBox2.isSelected()){
    		resetList(newlist);
    	}
    	dispose();
		Tester<Kanji> test = new SimpleTest<Kanji>(newlist);
		if(jComboBox1.getSelectedItem() == possibilities[0]){
			test = new SimpleTest<Kanji>(newlist);
		}else if(jComboBox1.getSelectedItem() == possibilities[1]){
			test = new DynamicTest<Kanji>(newlist);
		}else if(jComboBox1.getSelectedItem() == possibilities[2]){
			test = new LatestTest<Kanji>(newlist);
		}
    	new KanjiTester(newlist, test, file, jCheckBox1.isSelected());
    }