Open Template Popup at Mouse Location

For posterity.. (i.e. for future me), you can use this:

from javax.swing import SwingUtilities
window = system.nav.openWindow('Popup Path', {})
newPoint = SwingUtilities.convertPoint(event.source, event.x, event.y, system.gui.getParentWindow(event).rootContainer)
window.setLocation(newPoint.x, newPoint.y)

Thanks Phil for the massive prompt

3 Likes