Camera Settings Problem

My team is having some issues configuring USB cameras for our robot. We have had issues with both severely lagging images as well as not being able to configure the cameras from color to B/W. We are currently using a microsoft VX-5000 and a Logitech C270. We are using java programming. Any resources would be greatly appreciated and a HUGE help! Thanks in advance!