|Re: swing2swt library [message #754427 is a reply to message #753563]
||Wed, 02 November 2011 14:12
| Grant Gayed
Registered: July 2009
I don't have experience with the library that you mentioned, and since
no one else has responded it seems that others don't either.
To write an RCP app I don't think you can get away with writing no swt
code, simply because that is the widget currency that the platform uses.
However SWT is able to embed AWT/Swing components within its
Composites, for some basic examples see
If you decide to try embedding AWT/Swing in SWT then you should look at
the Albireo project ( http://wiki.eclipse.org/Albireo_Project ), which
provides a layer that helps with this (I believe that it works around
some interop bugs, helps with aspects like managing focus, etc.).
On 10/27/2011 1:47 PM, Ronald So wrote:
> I am currently assessing the work that takes to convert an existing
> SWING application into Eclipse RCP. I came across an old, but useful,
> library that was written by Yannick Saillet from IBM lab.
> Did anyone successfully convert an enterprise SWING application into SWT
> by using this library? Also, there are a few layout manager such as the
> GridBagLayout that are not included in the wrapper. Does anyone have any
> information on that?
> Thanks a lot.
|Re: swing2swt library [message #754463 is a reply to message #754427]
||Wed, 02 November 2011 15:46
| Ronald So
Registered: April 2011
Thanks for your reply, Grant. I am aware of the SWT_AWT bridge but the additional work that takes to make everything works the way we like drive us away from that choice. I am also aware of the Albireo project but it has no indication that it is available now nor it will be available any time soon.|
I agree with you that it is our best interest to make our guys to learn SWT anyway instead of messing around with the wrapper. It should not take long for a good UI developer to learn SWT if he/she has SWING or any UI framework background.
For tracking purpose, I went around the GridBagLayout problem by converting that into SWT layouts or one of the two layout managers that the wrapper provides. It is not ideal, but it works (just with more hassles).
[Updated on: Wed, 02 November 2011 15:46]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02840 seconds