SWT/Swing [message #465791] |
Tue, 20 December 2005 09:46  |
Eclipse User |
|
|
|
Hello,
I want to embed Swing application into SWT. I have used
"Display.syncExec" to deal with SWT components. Swing application by itself
has plenty of "invokeAndWait" statements to ensure that UI is constructed on
event dispatcher. Hence, I got calls from AWT Event dispatcher calling
"Display.syncExec" and from eclipse UI thread calling "invokeAndWait", which
of course leads to deadlock.
Perhaps someone has solution for this problem?
Thank you,
--
Egidijus Vaisnora
|
|
|
Re: SWT/Swing [message #465870 is a reply to message #465791] |
Tue, 20 December 2005 19:51  |
Eclipse User |
|
|
|
Egidijus Vaisnora wrote:
> Hello,
>
> I want to embed Swing application into SWT. I have used
> "Display.syncExec" to deal with SWT components. Swing application by
> itself has plenty of "invokeAndWait" statements to ensure that UI is
> constructed on event dispatcher. Hence, I got calls from AWT Event
> dispatcher calling "Display.syncExec" and from eclipse UI thread calling
> "invokeAndWait", which of course leads to deadlock.
> Perhaps someone has solution for this problem?
>
> Thank you,
> --
> Egidijus Vaisnora
try with swing's invokeLater or swt asyncExec
|
|
|
Powered by
FUDForum. Page generated in 0.04191 seconds