# pick points and display the details - java + Swing

**URL:** <https://discourse.vtk.org/t/pick-points-and-display-the-details-java-swing/15145>\
**Category:** Development\
**Created:** [January 12, 2025, 2:31pm UTC](https://discourse.vtk.org/t/pick-points-and-display-the-details-java-swing/15145 "2025-01-12T14:31:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![abhishek](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/a/7ba0ec/32.png) [@abhishek](https://discourse.vtk.org/u/abhishek)\
**Post date:** [January 12, 2025, 2:31pm UTC](https://discourse.vtk.org/t/pick-points-and-display-the-details-java-swing/15145/1 "2025-01-12T14:31:11Z")

</div>

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.
