The benefit of GWT being Java based is that you can reuse a lot of
your existing swing application classes that are not UI specific. So
if you're using the MVC pattern, you should just need to swap out the
V that's swing based with a View that's GWT based. An automatic
conversion program from Swing to GWT is not available AFAIK.

--
Arthur Kalmenson



On Thu, Feb 19, 2009 at 8:56 PM, FractalBob <[email protected]> wrote:
>
> Actually, Java2Script seems to do a pretty good job of conversion and
> may well do what I need.
>
> I'm still going to experiment with GWT to see how far I can go with
> it.
>
>
> On Feb 19, 5:41 pm, Daniel Jue <[email protected]> wrote:
>> Bob, I don't mean to be rude, but led you to believe there was a
>> conversion program or plugin?  I don't think there is one, at least
>> not any free ones I've heard of.
>> The conversion is a manual process.  I suggest you pick up a book on
>> GWT or try the samples to see how different is is from your swing app,
>> and then try to discover how you can reuse your old code.  If your old
>> code has a good design, you won't have to touch certain classes that
>> have nothing to do with the GUI.  But you will have to write code.
>> (imagine the 'will' being in bold italics)
>> Some people like Cypal, and it's easy to get started with it.  It even
>> has it's own mailing list that you will want to join if you have Cypal
>> specific questions.
>>
>> On Thu, Feb 19, 2009 at 6:56 PM, FractalBob <[email protected]> wrote:
>>
>> > Thanks for your reply, Daniel.
>>
>> > I don't know if this is relevant, but I used Eclipse to develop the
>> > application. I also just downloaded Cypal Studio, which is supposed to
>> > help convert Eclipse projects, but I haven't tried it yet. Do you
>> > think it will help?
>>
>> > Bob
>>
>> > On Feb 19, 3:52 pm, Daniel Jue <[email protected]> wrote:
>> >> On Thu, Feb 19, 2009 at 6:21 PM, FractalBob <[email protected]> wrote:
>>
>> >> > Hi,
>>
>> >> > I developed a Swing-based mail application that I'd like to convert to
>> >> > JavaScript. Is this the sort of thing that GWT can do?
>>
>> >> No, it's not going to convert it for you.  Your benefit is that
>> >> building the GUI is similar to building a Swing GUI, AFAIK.  So there
>> >> is less work for you to do compared to say, converting a PHP or JSP
>> >> application.
>> >> I don't think there is a tool to convert it.  Plus the Sync/Async RPC
>> >> methodology is probably something new you will have to learn.
>>
>> >> > If so, how do I
>> >> > run GWTCompiler? I added the four JAR files contained in the GWT
>> >> > distribution to my CLASSPATH, but the java interpreter can't find
>> >> > GWTCompiler. TIA.
>>
>> >> > Bob
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to