aspose file tools*
The moose likes JavaFX and the fly likes How to convert coordinates of one Node to coordinates of another Node? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JavaFX
Bookmark "How to convert coordinates of one Node to coordinates of another Node?" Watch "How to convert coordinates of one Node to coordinates of another Node?" New topic
Author

How to convert coordinates of one Node to coordinates of another Node?

Volodymyr Levytskyi
Ranch Hand

Joined: Mar 29, 2012
Posts: 505
    
    1

Hello!

I create and show popup as suggested here.

And my Popup is shown but in a wrong place. I suspect that coordinates returned by getLayoutX and getLayoutY needs to be converted into coordinates
for Node on which Popup is shown.

How to convert coordinates of one Node to coordinates of another Node?

Thank you!


True person is moral, false is right!
Volodymyr Levytskyi
Ranch Hand

Joined: Mar 29, 2012
Posts: 505
    
    1

After having many attempts and failures, I found solution:


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to convert coordinates of one Node to coordinates of another Node?