I am writing a program in java. The screenshot of the program is as follows:
The method append (string) is undefined for the JTextFeild
As you can see above I get a red line under "append". Why is that so? I have observed that I always get it, when I use a jtext field. When I use the jtext area instead of the field, it is resolved.
Why is this so? Can anyone please guide me how to get rid of this error?
Waiting for your replies.