There is. You can call component.getDisplay().getHostWindow(). That will return the AWT host frame.
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.)
