public void actionPerformed(ActionEvent e) {
		if (e.getSource() == openFile) {
			int returnVal = openWekaFile.showOpenDialog(UserInterface.this);

			if (returnVal == JFileChooser.APPROVE_OPTION) {
				File file = openWekaFile.getSelectedFile();
				logData.setText(logData.getText() + "Opening: " + file.getName() + "\n\n" );
				//Create a file read object
				inputFileRead = new ReadArffFile(file);
				//Create an execute object based on the Relation we will get out of the file read
				runAlgorithm = new Execute(inputFileRead.readFile());
				
				//Fill combo box with all attributes to select the decision attr
				DefaultComboBoxModel decisionAttrModel = new DefaultComboBoxModel(runAlgorithm.attributeIndexMap.keySet().toArray());
				decisionAttrCbo.setModel(decisionAttrModel);
				decisionAttrCbo.setSelectedIndex(1);
				
				//Fill the max number of attr to use (Up to the max available (minus) decision attributes)
				String[] maxNumTemp = new String[runAlgorithm.attributeIndexMap.size()];
				for(int i=0;i<runAlgorithm.attributeIndexMap.size();i++){
					maxNumTemp[i] = Integer.toString(i+1);
					System.out.println(i+1);
				}
				DefaultComboBoxModel maxNumAttrModel = new DefaultComboBoxModel(maxNumTemp);
				maxNumAttr.setModel(maxNumAttrModel);
				maxNumAttr.setSelectedIndex(1);
				
				//Set the controls to enabled so we can start our algorithm!
				setEnabled(true);
//				inputFileRead.printRelation();
				inputFileRead.printRelationToLog();
			} else {
				logData.setText(logData.getText() + "Open command cancelled by user.\n");
			}
		}
		if (e.getSource() == runAlgorithmBtn){
			System.out.println("Just pushed run!");
			//Going to try running with some dec attr
			if(!decisionAttrTextBox.getText().equals("")){
				List<String> decAttr = Arrays.asList(decisionAttrTextBox.getText().split(","));
				runAlgorithm.runOne(decAttr,Integer.parseInt(maxNumAttr.getSelectedItem().toString()));
				runAlgorithm.printAllCovering();
				runAlgorithm.runRICO(runAlgorithm.allCoverings,decAttr,Integer.parseInt(minCoverage.getSelectedItem().toString()),dropUnnecessary.isSelected());
			} else {
				logData.setText(logData.getText()+ "Please select your covering attributes!\n\n");
			}
			
		}

	}