@Override
		public void actionPerformed(ActionEvent e) {
			
			if(e.getSource() == jbtReset){
				
				enablerListener.enableSortButton(false);
				resetRadioButtons();
				resetDataFields();
				
				// clear text fields on stats panel
				controller.getStatsPanel().clearTextFields();
				
				// Clear sort panel text fields
				controller.getSortPanel().clearTextFields();
				
				// Set array to be sorted back to null;
				controller.setSortArray(null);
				
			}else if(e.getSource() == jbtGetStats){
				
				// enable SortPanel's sort button (via HuckFrame, the controller)
				enablerListener.enableSortButton(true);
				
				// get data from text fields
				int[] arrayData = getDataFromTextFields();
				
				if(arrayData != null){
					
					// Make random array & assign to controller's variable.	
					controller.setSortArray(RandomArrayMaker.getRandomArray(arrayData));
					
					// clear text fields on stats panel
					controller.getStatsPanel().clearTextFields();
					
					// Get and set random arrays statistics 
					controller.getAndSetStatistics(arrayData);
					
				}else{
					
					// Report to user some text field data is missing.
					JOptionPane.showMessageDialog(null, "Some array creation numbers are missing.");
				}
				
				
			}else if(e.getSource() == jrbTest_A){
				
				setDataFields(PreSelectedArrayData.arrayData_A);
				
			}else if(e.getSource() == jrbTest_B){
				
				setDataFields(PreSelectedArrayData.arrayData_B);
				
			}else if(e.getSource() == jrbTest_C){
				
				setDataFields(PreSelectedArrayData.arrayData_C);
				
			}else if(e.getSource() == jrbTest_D){
				
				setDataFields(PreSelectedArrayData.arrayData_D);
			}
		}