Hello Paul, thank you for answering. It's a helpful tip for me that you can mark the directories to translate in that gwt.xml file!
But it seems that i havn't described my actual problem exactly. So i try again. The matter is that i have a well working application that reads meta data from an xml file for instanciating an object structure that shall be displayed. (The runtime env is an app for showing software-prototypes like mobilesoftware.) This is working fine with Swing components because i can display it embedded in my runtime env by instanciate a swtobject structure. My first idea was to copy all swing component factories for gwt components; make an abstract layer above both, so i can use my existing access. I don't know if it will work to instanciate an gwtobject structure like that and even if, i don't know what to do with it. It has to be translated by then. But i don't know how. The question is, if it is possible to translate it into html/javascript an runtime? A complety another solution i now have in mind is to write a gwt project for my prototype (all gwt files that are needed) at runtime. Then i can compile these static gwt project and get my html/ javascript. But in this solution i can't use anything of my old code... Furthermore it's very interesting for me, if it's possible to translate a cloudy gwt object structure to html? But maybe it's a really oddy idea in my mind??? greetings, Jenny On 20 Aug., 10:59, Paul Robinson <[email protected]> wrote: > It depends on what you mean exactly. Your swing components are not > GWT-compatible because they can't be translated to javascript. Anything > swing-related or server specific or otherwise not javascript > translatable must be in a directory that GWT does not try to translate. > Your module gwt.xml files specify the translatable directories. > > You can have one eclipse project that includes code for a swing client > and your GWT client (and any server side code), but your GWT code can't > use any of the swing code. > > HTH > Paul > > jennywrote: > > Hallo everyone, > > > i have a fine working eclipse-developed java rich client application. > > > Now i want a new way to display my data, namely in a browser. > > (So i can install my app on a webserver) > > > But the existing solution has to work like it is! > > > I imported the GWT SDK 1.6.4. and the App Engine SDK 1.2.1 for getting > > GWT components for the websolution. > > > But now my Swing components arn't supported any longer. > > > The question: > > Is there a possibility to develop my new browser-solution with GWT > > components alongside my rich client solution in the same eclipse > > project? > > Or do you know another solution for my prob? > > > Thanks for replys,jenny --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
