[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: Swing Vs SWT Problems.

Hi Jeff,

The approach is to create an SWT Composite with style EMBEDDED, and use
SWT_AWT.new_Frame(composite) to create an AWT Frame within it.  Two example
snippets of this are:

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

Grant

"Jeff" <niroshan_bala@xxxxxxxxxxx> wrote in message
news:6e0a1c40981243be6c9685e48109ba27$1@xxxxxxxxxxxxxxxxxx
> Hi all,
>
> I have some problem in SWT. I have a seperate Swing application and a SWT
> application. I need to embaded this swing application in to the
> MultipageEditor of the SWT application. I can't change the swing
> application but can do changes to the SWT application.
>
> Can any one explain me the steps briefly about what should I do for it.
>
> Hope a reply soon.
>
> regards,
> Jeff.
>