*
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 Murach's Java Servlets and JSP this week in the Servlets 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?
 
Similar Threads
JTree expand node and highlight
astar search
override the equals and hashcode
print a HashSet of objects
JTree help