@Override
	public void actionPerformed(ActionEvent e) 
	{
		if(e.getActionCommand().equals("Start the Match Scouting Server"))
		{
			//Check for Valid Data
			if(wG.validData())
			{
				//Start the MainGUI
				wG.pullThePlug();
				JPanel p = new JPanel(null);
				MainGUI mG = new MainGUI(p);
				mG.setVisible(true);
			
				//Start the Bluetooth Connection Thread
				connThreadMatch = new Thread(new ConnectionListener(mG));
				connThreadMatch.start();
			}
			else
			{
				//Show Error Screen
				JFrame frame = new JFrame();
				JOptionPane.showMessageDialog(frame,"Please Enter a Valid Number as a Team Number","Team Number Error",JOptionPane.ERROR_MESSAGE);
			}
		}
		else if(e.getActionCommand().equals("Start the Saved Match Upload Server"))
		{
			//Check for Valid Data
			if(wG.validData())
			{
				//Start Match Upload GUI
				wG.pullThePlug();
				JPanel p = new JPanel(null);
				MainUploadGUI mG = new MainUploadGUI(p);
				mG.setVisible(true);
				
				//Start Match Upload Connection Thread
				connThreadSMatch = new Thread(new ConnectionListenerSavedMatch(mG));
				connThreadSMatch.start();
			}
			else
			{
				//Show Error Screen
				JFrame frame = new JFrame();
				JOptionPane.showMessageDialog(frame,"Please Enter a Valid Number as a Team Number","Team Number Error",JOptionPane.ERROR_MESSAGE);
			}
		}
		else if(e.getActionCommand().equals("Start the Saved Pit Upload Server"))
		{
			//Check for Valid Data
			if(wG.validData())
			{
				//Start Match Upload GUI
				wG.pullThePlug();
				JPanel p = new JPanel(null);
				MainPitUploadGUI mG = new MainPitUploadGUI(p);
				mG.setVisible(true);
				
				//Start Match Upload Connection Thread
				connThreadSPit = new Thread(new ConnectionListenerSavedPit(mG));
				connThreadSPit.start();
			}
			else
			{
				//Show Error Screen
				JFrame frame = new JFrame();
				JOptionPane.showMessageDialog(frame,"Please Enter a Valid Number as a Team Number","Team Number Error",JOptionPane.ERROR_MESSAGE);
			}
		}
	}