Go through the GWT Getting started guide. You've screwed up your
installation somehow, or you're not using the right command line. It's
not a matter of code, it's just that some tool in the chain can't find
the TextArea class code.

For the rest - really, this is a forum, not a university. Just go
through the getting started guide and learn GWT. You should also have
a look at the javadoc for all GWT classes. For example, the TextArea
javadoc has a getText() method, and a setText() method.

You can not use URL in GWT. The GWT Documentation (Notice a pattern?)
has a nice listing of which classes are supported. java.net.* is not
in it. This isn't because the GWT team is lazy, it's simply because
javascript simply can't do this, so there's no way the GWT compiler
can compile that code for you.

If the URL you want to read in is from the same server that served the
webpage (the EXACT same server. Same protocol, same exact server name,
same port), then you can use RequestBuilder (A GWT class. Look it up
in the ...... (drum roll please!) .... documentation!) which is
capable of downloading the contents. On the web, you can pretty much
only ever download everything in one go, there are no streams, just
complete data. If you need to process a couple megabytes on the
client... you're out of luck, then. Maybe your server can download the
big data in chunks and pass it to the client in a flurry of requests
instead.

On Nov 29, 7:50 am, moe374 <[EMAIL PROTECTED]> wrote:
> Hello. I have just begun learning java (about 2 months ago) and am now
> trying to develop a couple applications for the web using java and the
> GWT. I am having some difficulty and hoping someone can help me out.
> My first problem I am having is I am getting this error message
> "TextArea cannot be resolved to a type" when I am trying to create a
> text area. I get the error message twice, and for the same line in my
> code which is
>
> TextArea ta = new TextArea();
>
> Is there a line (or multiple lines) of code I have to implement before
> I can implement the TextArea object?
>
> Also, I need to allow the user to paste some information into this
> text box and allow me to store that information in a variable, and
> then do something with the information, and then output some
> information to the user (even in the same text box is fine). Can some
> one please help me get started on this?
>
> Finally, I was wondering if the GWT supports reading the HTML file of
> a URL, which would normally be done by something like this:
>
> URL results = new URL("http://www.some-url.com";);
>
>             BufferedReader in2 = new BufferedReader(
>                     new InputStreamReader(
>                     results.openStream()));
>             String inputLine = in2.readLine();
>
> Thank you very much.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
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