Update setCapture.java