Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Invoke SWT from Swing
Invoke SWT from Swing [message #451393] Mon, 28 February 2005 21: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 10:35 Go to previous message
Eclipse UserFriend
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: Tue Jul 08 09:13:03 EDT 2025

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

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

Back to the top