SubWindow position based on component position

Hi,

I have a layout containing a number of TextFields. If the user types certain values in each text field I would like to open a Subwindow and position that SubWindow immediately below the TextField which currently has the focus. I can use a SuperImmediateTextField to determine when to open the SubWindow based on current TextField content, but I don’t know how to position the SubWindow. The SubWindow content will change depending on which TextField has the focus and what its content is.

I don’t think I can use a PopupView because I want to open the SubWindow “automatically” rather than by the user clicking the minimized PopupView link, as the user won’t know when the SubWindow should appear.

Is there a way to determine the position of the current field which has the focus and open the SubWindow based on that position?

Cheers,
Julian.

I don’t have an answer to this. Just an idea.

Since the popupview creates a link/button that shows the popupContent when clicked.
if we know the clickListener that fires the popup showing, then one could easily use this in your case.