Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Tools to Convert Swing source code to SWT
Tools to Convert Swing source code to SWT [message #456407] Thu, 02 June 2005 15:57 Go to next message
Eclipse UserFriend
Originally posted by: purnachandra.visualsoft-tech.com

Can anyone plz give the list of any tools(eval ver) which converts the
existing swing code to swt code?
Re: Tools to Convert Swing source code to SWT [message #456417 is a reply to message #456407] Thu, 02 June 2005 21:31 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 97
Registered: July 2009
Member
Auto-conversion is NOT possible! I did research on this issue
to convert serious AWT systems. I was successfully converted
AWT to Swing, but Swing turned out to be sloppy craps.
There are a few inherent constraints in SWT that make this
impossible. Your best bet is to rewrite everything.

Regards.


"Purna" <purnachandra@visualsoft-tech.com> wrote in message
news:591a2562b0260a356d14016ceeb0f909$1@www.eclipse.org...
> Can anyone plz give the list of any tools(eval ver) which converts the
> existing swing code to swt code?
>
Re: Tools to Convert Swing source code to SWT [message #456418 is a reply to message #456407] Thu, 02 June 2005 22:44 Go to previous messageGo to next message
James Leotta is currently offline James LeottaFriend
Messages: 202
Registered: July 2009
Senior Member
Purna wrote:
> Can anyone plz give the list of any tools(eval ver) which converts the
> existing swing code to swt code?
>
www.instantiations.com

They have a SWT Design tool and the roadmap says that they are working
on a conversion tool. You can post a message for eric on the bulletin
board and ask for the status.
Re: Tools to Convert Swing source code to SWT [message #456429 is a reply to message #456418] Fri, 03 June 2005 13:06 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 97
Registered: July 2009
Member
"James Leotta" <jleotta@bascom.com> wrote in message
news:d7o1nm$tk$1@news.eclipse.org...
> Purna wrote:
>> Can anyone plz give the list of any tools(eval ver) which converts the
>> existing swing code to swt code?
>>
> www.instantiations.com
>
> They have a SWT Design tool and the roadmap says that they are working on
> a conversion tool. You can post a message for eric on the bulletin board
> and ask for the status.

There is no magic that can turn Swing codes into SWT. There are a few
inherent
limitations that this is impossible. One limitation is that every SWT
widgets must have parent
where AWT/Swing don't! The another is that they use different style layout
managers.
These make impossible to convert using design patterns even with partial
manual
recoding.

By the way, they promissed native compilers that can turn Java programs into
..exe executables for Windows! I don't know what happened. I am still waiting
it to appear.

Regards.
Re: Tools to Convert Swing source code to SWT [message #456434 is a reply to message #456429] Fri, 03 June 2005 15:04 Go to previous messageGo to next message
Radu is currently offline RaduFriend
Messages: 44
Registered: July 2009
Member
Joe Smith wrote:
> "James Leotta" <jleotta@bascom.com> wrote in message
> news:d7o1nm$tk$1@news.eclipse.org...
>
>>Purna wrote:
>>
>>>Can anyone plz give the list of any tools(eval ver) which converts the
>>>existing swing code to swt code?
>>>
>>
>>www.instantiations.com
>>
>>They have a SWT Design tool and the roadmap says that they are working on
>>a conversion tool. You can post a message for eric on the bulletin board
>>and ask for the status.
>
>
> There is no magic that can turn Swing codes into SWT. There are a few
> inherent
> limitations that this is impossible. One limitation is that every SWT
> widgets must have parent
> where AWT/Swing don't! The another is that they use different style layout
> managers.
> These make impossible to convert using design patterns even with partial
> manual
> recoding.
>
> By the way, they promissed native compilers that can turn Java programs into
> .exe executables for Windows! I don't know what happened. I am still waiting
> it to appear.
they appeared:

http://thisiscool.com/gcc_mingw.htm
http://www.excelsior-usa.com/jet.html

like, many years ago...
>
> Regards.
>
>
Re: Tools to Convert Swing source code to SWT [message #456993 is a reply to message #456434] Mon, 13 June 2005 23:58 Go to previous message
Eclipse UserFriend
Originally posted by: smclean.sandia.gov

Actually, I think there is a tool out there to convert Swing to SWT. It's
called SwingWT.

http://swingwt.sourceforge.net/

I got it to work on the desktop with JDK. I'm wondering if it's possible
to use with PDAs? I'm trying to using swingwt with J9 from IBM. Has
anyone ever tried this?
Previous Topic:How to modify the height of a Scale widget inside a ToolBar?
Next Topic:Background artifacts with antialiasing
Goto Forum:
  


Current Time: Sat Apr 27 00:39:44 GMT 2024

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

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

Back to the top