public UploadGUI(JPanel p1,int matchNum,JTextArea[] devices)
	{
		//Call to Super to Set Title
		super("FRC 2410 Bluetooth Server");
		
		//Set Background Color
		p1.setBackground(Color.GRAY);
		
		//Set Variables to Parameters
		statusFields = devices;
		
		//Create Components
		device1 = statusFields[0];
		device2 = statusFields[1];
		device3 = statusFields[2];
		device4 = statusFields[3];
		device5 = statusFields[4];
		device6 = statusFields[5];
		connectedClients = new JLabel("Connected Clients");
		device1L = new JLabel("Device 1");
		device2L = new JLabel("Device 2");
		device3L = new JLabel("Device 3");
		device4L = new JLabel("Device 4");
		device5L = new JLabel("Device 5");
		device6L = new JLabel("Device 6");
		terminateUpload = new JButton("Terminate Match Upload");
		clientsNumL =  new JLabel("Clients Scouting");
		clientsNum = new JTextField(20);
		completedClientsL =  new JLabel("Clients That Have Completed Scouting");
		completedClients = new JTextField(20);
		
		//Add Components to the Panel
		p1.add(connectedClients);
		p1.add(device1);
		p1.add(device2);
		p1.add(device3);
		p1.add(device4);
		p1.add(device5);
		p1.add(device6);
		p1.add(device1L);
		p1.add(device2L);
		p1.add(device3L);
		p1.add(device4L);
		p1.add(device5L);
		p1.add(device6L);
		p1.add(clientsNumL);
		p1.add(clientsNum);
		p1.add(completedClientsL);
		p1.add(completedClients);
		
		//Setup Insets and Positioning
	    Insets insets = p1.getInsets();
	    
	    Dimension size = connectedClients.getPreferredSize();
	    connectedClients.setBounds(10 + insets.left, 70 + insets.top, size.width, size.height);
	    
	    size = clientsNumL.getPreferredSize();
	    clientsNumL.setBounds(10 + insets.left, 10 + insets.top, size.width, size.height);
	    
	    clientsNum.setBounds(10 + insets.left, 30 + insets.top, 100, size.height);
	    clientsNum.setEnabled(false);
	    clientsNum.setText(String.valueOf(MainUploadGUI.numConnected));
	    
	    size = completedClientsL.getPreferredSize();
	    completedClientsL.setBounds(150 + insets.left, 10 + insets.top, size.width, size.height);
	    
	    completedClients.setBounds(150 + insets.left, 30 + insets.top, 100, size.height);
	    completedClients.setEnabled(false);
	    completedClients.setText(String.valueOf(numFinished));
	    
	    size = device1L.getPreferredSize();
	    device1L.setBounds(10 + insets.left, 90 + insets.top, size.width, size.height);
	    device1.setBounds(10 + insets.left, 110 + insets.top, 200, 200);
	    device1.setEnabled(false);
	    
	    size = device2L.getPreferredSize();
	    device2L.setBounds(230 + insets.left, 90 + insets.top, size.width, size.height);
	    device2.setBounds(230 + insets.left, 110 + insets.top, 200, 200);
	    device2.setEnabled(false);
	    
	    size = device3L.getPreferredSize();
	    device3L.setBounds(450 + insets.left, 90 + insets.top, size.width, size.height);
	    device3.setBounds(450 + insets.left, 110 + insets.top, 200, 200);
	    device3.setEnabled(false);
	    
	    size = device4L.getPreferredSize();
	    device4L.setBounds(10 + insets.left, 310 + insets.top, size.width, size.height);
	    device4.setBounds(10 + insets.left, 330 + insets.top, 200, 200);
	    device4.setEnabled(false);
	    
	    size = device5L.getPreferredSize();
	    device5L.setBounds(230 + insets.left, 310 + insets.top, size.width, size.height);
	    device5.setBounds(230 + insets.left, 330 + insets.top, 200, 200);
	    device5.setEnabled(false);
	    
	    size = device6L.getPreferredSize();
	    device6L.setBounds(450 + insets.left, 310 + insets.top, size.width, size.height);
	    device6.setBounds(450 + insets.left, 330 + insets.top, 200, 200);
	    device6.setEnabled(false);
	    
	    terminateUpload.setBounds(10 + insets.left, 550 + insets.top, 640, 50);
	    
	    //Add Action Listener
	    terminateUpload.addActionListener(this);
	    
	    //Add Window Listener
	    addWindowListener(this);
	    
		//Make GUI Visible and Set Size
		add(p1);
		setSize(670,670);
	}