public void openDevice(int index) { // Opens the device takes in index you
										// want to use
		deviceIndex = index; // Sets the index to the parameter

		try { // beginning of a try catch block
			sender = JpcapSender.openDevice(devices[deviceIndex]); // Opens the
																	// selected
																	// device
		} catch (IOException e) { // catches an input output error
			// TODO Auto-generated catch block
			e.printStackTrace(); // prints the throwable
		}
	}