public void actionPerformed(ActionEvent e) {
			
			if(e.getActionCommand().equals("ConnectToFile"))
			{
				try 
				{
					connectTo();
				} 
				catch (IOException e1) 
				{
					System.out.println(e1.getMessage());
					System.exit(0);
				}
				//System.out.println("successful");
			}
			if(e.getActionCommand().equals("WriteToFile"))
			{
				try 
				{
					writeToInput();
				} 
				catch (IOException e1) 
				{
					System.out.println(e1.getMessage());
					System.exit(0);
				}
			}
			if(e.getActionCommand().equals("LoadFromFile"))
			{
				try 
				{
					loadOutput();
				} 
				catch (IOException e1) 
				{
					System.out.println(e1.getMessage());
					System.exit(0);
				}
			}
			if(e.getActionCommand().equals("BrBruteForce"))
			{
				bruteForceMecha();
			}
			
		}