Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » SWT/Swing
SWT/Swing [message #465791] Tue, 20 December 2005 14:46 Go to next message
Egidijus Vaisnora is currently offline Egidijus VaisnoraFriend
Messages: 47
Registered: July 2009
Member
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] Wed, 21 December 2005 00:51 Go to previous message
Haris Peco is currently offline Haris PecoFriend
Messages: 1072
Registered: July 2009
Senior Member
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
Previous Topic:Anyone know where I can get Firefox with linkable Gecko libraries?
Next Topic:ILazyTreeContentProvider
Goto Forum:
  


Current Time: Sun Dec 08 23:01:46 GMT 2024

Powered by FUDForum. Page generated in 0.03224 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top