a screen capturing program made in java