pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Brown <gk_br...@verizon.net>
Subject Re: how to get handle on main window?
Date Sat, 18 Dec 2010 02:28:09 GMT
There is. You can call component.getDisplay().getHostWindow(). That will return the AWT host

On Dec 17, 2010, at 8:46 PM, Bill van Melle wrote:

> Is there a way to get a handle on the top-level window that started an app?  E.g., deep
in my application somewhere I want to open a dialog, and have a way to pass it the proper
window argument.
> (Yes, I could save it at startup as a static in my top-level window class.  Just wondering
if there was a more official way.)

View raw message