| [news.eclipse.platform.swt] Re: SWT_AWT: Open a modal SWT Dialog in a Swing application |
parent is the JFrame. By calling setEnabled(false / true) i tried to simulate the modal behaviour. I'm sure, that this is ugly, but it works.
But there is still a problem: If i click on the applications button on the taskbar, the frame gets the focus. It's still disabled, but of course the dialog should get the focus instead of the frame.