Hello,
I want to place a Sub-Window next to a component.
Sub-Windows support to be placed at an absolute position, so the main problem is to get the absolute position of a component.
I can achieve to place a sub-window next to a component by using a LayoutOnClick-Listener, which does return the position of the mouse click and also a relative position (to the clicked component).
Is there a way to get this information
without
using a LayoutClickEvent? E. g. using a FocusListener and showing up a popup next to the focused TextField?
What is the best practice of getting the position of a component in Vaadin?
Thanks!