code: public static Webcam openDevice( String deviceName , int desiredWidth , int desiredHeight ) {
  		Webcam webcam = findDevice(deviceName);
  		if( webcam == null )
  			throw new IllegalArgumentException("Can't find camera "+deviceName);
  		adjustResolution(webcam,desiredWidth,desiredHeight);
  		webcam.open();
  		return webcam;
  	}
docs: Searches for the first device which matches the pattern.  Webcam capture doesn't name devices
  using the standard "/dev/video0" scheme, but it includes that in its name.
  
  @param deviceName Partial or complete name of the device you wish to pen
  @return The webcam it found