Programming cameras and pan-tilts with DirectX and Java