public void makeNext(){
		currentword = (Kanji)tester.getNext();
		if (currentword == null){
			JOptionPane.showMessageDialog(null, "End of test!\n" + correct + " correct out of " + total);
			kanjiTester.dispose();
			try{
				ObjectOutputStream out = new ObjectOutputStream(new FileOutputStream(kanjiTester.file));
				out.writeObject(wlist);
			}catch(Exception f){
				f.printStackTrace();
				JOptionPane.showMessageDialog(null, "An error occured while saving! List not saved.");
			}
			return;
		}
		wt.setText(currentword.toString());
		Random generator = new Random();
		for (int i = 0; i < 5; i++){
			int index = generator.nextInt(testlist.size());
			if (eng){buttons[i].setText(testlist.get(index).translation);}
			else{buttons[i].setText(testlist.get(index).reading);}
		}
		int correctbutton = generator.nextInt(5);
		buttons[correctbutton].setText(currentword.reading);
		if (eng){buttons[correctbutton].setText(currentword.translation);}
		else{buttons[correctbutton].setText(currentword.reading);}
		total++;
	}