Re: Newbie questions converting Java app to GWT

2017-03-30 Thread Mr Grol
Thank you so much guys. It's working now! Instead of BufferedReader, I used a String array created by .split() on a backslash n. I'm so happy I don't have to manually define the array size in Java beforehand! To append text to a TextArea, I read the contents of it and concatenated that with a

Re: Newbie questions converting Java app to GWT

2017-03-30 Thread David
I tend to use Guava Splitter class when splitting text. Guava is compatible with GWT (there is a guava-gwt.jar artifact). On Thu, 30 Mar 2017 at 08:59, Frank wrote: > 1a. Only java.lang and java.util classes are supported > 1b. Just use a StringBuffer and setText > > 2. You can just remove the se

Re: Newbie questions converting Java app to GWT

2017-03-29 Thread Frank
1a. Only java.lang and java.util classes are supported 1b. Just use a StringBuffer and setText 2. You can just remove the server directory. And clean up the web.xml The error you are receiving is not about that though. I think you are using superDevMode to run the project in Eclipse ? If that is

Newbie questions converting Java app to GWT

2017-03-29 Thread Mr Grol
Hello, I have a Java app that I wish to convert to JavaScript using GWT. I have downloaded GWT and the plugin for Eclipse. However, I am having some problems: *1. textArea / BufferedReader* *1a*. Parsing each line of a textArea line by line. In Java I use java.io.BufferedReader. This does