pick points and display the details - java + Swing

How can I pick points in java + swing for a VTK? With vtkPointPicker I am unable to identify the correct X and Y coordinates. vtkRenderWindowInteractor does not clearly specify how to use AddObserver in java.

Thanks in advance.