@Override
	public void actionPerformed(ActionEvent e) {
		//If the modSelection JComboBox is used, record the user selected modifier
		if ("modSelected".equals(e.getActionCommand())){
			selectedModIndex = modSelection.getSelectedIndex();
		}
		//If the clear button is pressed, empty the JTextAreas and set totalMod to zero
		else if ("clear".equals(e.getActionCommand())){
			totalMod = 0;

			displayIncludedMods.setEnabled(true);
			displayIncludedMods.setText("");
			displayIncludedMods.setEnabled(false);
			displayTotalMod.setEnabled(true);
			displayTotalMod.setText("");
			displayIncludedMods.setEnabled(false);
		}
		//If the include button is pressed, call includeSelectedMod(), passing it the
		//index of the mod to be included.
		else if ("include".equals(e.getActionCommand())){
			includeSelectedMod(selectedModIndex);
		}
	}