public MatchSetupGUI(JPanel p1)
	{
		//Call to Super Class
		super("FRC 2410 Bluetooth Server");
		
		//Set Background Color
		p1.setBackground(Color.GRAY);
		
		//Create Components
		directions = new JLabel("Please Enter the Required Match Info Below!");
		matchN = new JLabel("Match Number");
		matchNumber = new JTextField();
		teams = new JLabel("Teams in the Match");
		redL = new JLabel("Red Alliance");
		red1 = new JTextField();
		red2 = new JTextField();
		red3 = new JTextField();
		blueL = new JLabel("Blue Alliance");
		blue1 = new JTextField();
		blue2 = new JTextField();
		blue3 = new JTextField();
		one =  new JLabel("1:");
		two =  new JLabel("2:");
		three =  new JLabel("3:");
		oneB =  new JLabel("1:");
		twoB =  new JLabel("2:");
		threeB =  new JLabel("3:");
		submit = new JButton("Submit Data");
		
		//Add Components to the Panel
		p1.add(directions);
		p1.add(matchN);
		p1.add(matchNumber);
		p1.add(teams);
		p1.add(redL);
		p1.add(red1);
		p1.add(red2);
		p1.add(red3);
		p1.add(blueL);
		p1.add(blue1);
		p1.add(blue2);
		p1.add(blue3);
		p1.add(one);
		p1.add(two);
		p1.add(three);
		p1.add(oneB);
		p1.add(twoB);
		p1.add(threeB);
		p1.add(submit);
		
	    //Setup Insets and Positioning
	    Insets insets = p1.getInsets();
	    Dimension size = directions.getPreferredSize();
	    directions.setBounds(10 + insets.left, 10 + insets.top, size.width, size.height);
	    
	    size = matchN.getPreferredSize();
	    matchN.setBounds(10 + insets.left, 30 + insets.top, size.width, size.height);
	    
	    size = matchNumber.getPreferredSize();
	    matchNumber.setBounds(10 + insets.left, 50 + insets.top, 100, size.height);
	    
	    size = teams.getPreferredSize();
	    teams.setBounds(10 + insets.left, 90 + insets.top, size.width, size.height);
	    
	    size = redL.getPreferredSize();
	    redL.setBounds(10 + insets.left, 110 + insets.top, size.width, size.height);
	    
	    size = one.getPreferredSize();
	    one.setBounds(10 + insets.left, 130 + insets.top, size.width, size.height);
	    
	    size = red1.getPreferredSize();
	    red1.setBounds(30 + insets.left, 130 + insets.top, 100, size.height);
	    
	    size = two.getPreferredSize();
	    two.setBounds(10 + insets.left, 150 + insets.top, size.width, size.height);
	    
	    size = red2.getPreferredSize();
	    red2.setBounds(30 + insets.left, 150 + insets.top, 100, size.height);
	    
	    size = three.getPreferredSize();
	    three.setBounds(10 + insets.left, 170 + insets.top, size.width, size.height);
	    
	    size = red3.getPreferredSize();
	    red3.setBounds(30 + insets.left, 170 + insets.top, 100, size.height);
	    
	    size = blueL.getPreferredSize();
	    blueL.setBounds(170 + insets.left, 110 + insets.top, size.width, size.height);
	    
	    size = oneB.getPreferredSize();
	    oneB.setBounds(170 + insets.left, 130 + insets.top, size.width, size.height);
	    
	    size = blue1.getPreferredSize();
	    blue1.setBounds(190 + insets.left, 130 + insets.top, 100, size.height);
	    
	    size = twoB.getPreferredSize();
	    twoB.setBounds(170 + insets.left, 150 + insets.top, size.width, size.height);
	    
	    size = blue2.getPreferredSize();
	    blue2.setBounds(190 + insets.left, 150 + insets.top, 100, size.height);
	    
	    size = threeB.getPreferredSize();
	    threeB.setBounds(170 + insets.left, 170 + insets.top, size.width, size.height);
	    
	    size = blue3.getPreferredSize();
	    blue3.setBounds(190 + insets.left, 170 + insets.top, 100, size.height);
	    
	    submit.setBounds(10 + insets.left, 230 + insets.top, 300, 40);
	    
	    submit.addActionListener(this);
	    
		//Add Panel and Set Size
		add(p1);
		setSize(350,350);
	}