The chances are you can't. Unless the code you want to import only uses emulated classes, and you have the source, then you can't use it.
GWT can only translate into JS what it has been 'taught' how to translate. Some things (like multi-threading) it will never (in the foreseeable future) be able to do, so any Java code that uses that will never be able to be used. Ian http://examples.roughian.com 2009/6/9 Shane <[email protected]> > > Hi Jamie, > > Thanks for the heads-up, that will save me time. > > However, I am still unsure why I am getting errors with the org.json > library. Even if I don't use this library, I am sure I will run into > this sort of problem again. > > I guess my question boils down to: how do I import other Java code > into the client side of a GWT app? > > Cheers, > Shane > > On Jun 9, 5:28 am, Jamie <[email protected]> wrote: > > GWT comes with it's own JSON library. > > > > See here: > http://code.google.com/webtoolkit/doc/1.6/DevGuideCodingBasics.html#D... > > andhttp://code.google.com/webtoolkit/tutorials/1.6/JSON.html > > > > I am not saying that you can't use the org.json in your client code, > > however it will end up being a lot of work, and the GWT team have > > already done it for you! > > > > Jamie. > > ----------------------- > > Search for analog and digital television broadcast antennas in your > > area:http://www.antennamap.com/ > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
