Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Invoke SWT from Swing
Invoke SWT from Swing [message #451393] Tue, 01 March 2005 02:17 Go to next message
Eclipse UserFriend
Originally posted by: alg.emcsoft.com

When I invoke SWT from a Swing app, the SWT display appears under the Swing
frame. Additionally, the Swing frame no longer repaints itself. Not good.
Does anyone know if it is possible to make SWT and Swing play together?

My objective is to ultimately covert the Swing application to SWT --- but I
want to do it incrementally, first converting functions that are reasonably
distinct from a user presepective.

Thanks.
Re: Invoke SWT from Swing [message #452986 is a reply to message #451393] Tue, 29 March 2005 15:35 Go to previous message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
Can you be more specific. Does this snippet work for you?

http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet135.java?rev=HEAD& amp;content-type=text/vnd.viewcvs-markup

"Al G" <alg@emcsoft.com> wrote in message
news:d00jb5$o57$1@www.eclipse.org...
> When I invoke SWT from a Swing app, the SWT display appears under the
Swing
> frame. Additionally, the Swing frame no longer repaints itself. Not
good.
> Does anyone know if it is possible to make SWT and Swing play together?
>
> My objective is to ultimately covert the Swing application to SWT --- but
I
> want to do it incrementally, first converting functions that are
reasonably
> distinct from a user presepective.
>
> Thanks.
>
>
Previous Topic:Problem Installing Eclipse on Linux
Next Topic:Tree with TreeColumns
Goto Forum:
  


Current Time: Wed Apr 24 16:42:22 GMT 2024

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

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

Back to the top