public void setColor()
		{
			if(typ == 0)
			{
				//Check if the name is broadcasting
				if(!myinfo.getBroadcasting())
				{
					myButton.setBackground(Color.red);
					myButton.setForeground(Color.white);
				}
				else
				{
					myButton.setBackground(Color.orange);
					myButton.setForeground(Color.black);
				}

				//Check if the name is available to connect
				if(myinfo.getAvailConnect())
				{
					myButton.setForeground(Color.black);
					myButton.setBackground(Color.yellow);
				}

				//Check if the name is already the connected name
				if(myInfo.getPartnerName().equals(myinfo.getName()))
				{
					myButton.setForeground(Color.black);
					myButton.setBackground(Color.green);
				}

				if(selectedFlag == true)
					buttonPressed();
			}
			if(typ == 1)
			{
				if(blWriteChoose != null)
				{
					if(blWriteChoose == true)
						myButton.setBackground(Color.green);
					if(blWriteChoose == false)
						myButton.setBackground(Color.yellow);
				}
			}
		}