Thread: Textarea

    #1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2000
    Location
    Sweden
    Posts
    384
    Rep Power
    15

    Textarea


    Hello,

    I've wrote a small applet that adds a "test" text in a textarea;

    TextArea display = new TextArea(20, 60);

    public void run() {
    display.appendText("Test");
    }

    This works fine when I'm testing my applet in appletviewer,
    but when I try to watch it in Internet Explorer, the "Test" text doesn't appear
    in my textarea. I have tried to figure out how this could happen, but I can't find any
    solution.

    Does anybody have a clue what I could have made wrong?

    I'm using JDK 1.1.3 to compile my applets. (Yeah, I know it's old...)

    Thanks in advance,
    Chrille
    Java Newbie
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2002
    Posts
    0
    Rep Power
    0
    this was annoying for me too when I first was learning about applets.. I had to find an html converter at java.sun.com that created a lot of HTML garble to make the applet work in IE or Netscape. Its most likely not your code.. its your embed stuff.
  4. #3
  5. No Profile Picture
    Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2002
    Posts
    27
    Rep Power
    0
    yes i beleive he is correct. thers a book called "Java Bible" by Aaron Walsh and John Froniawiak (i think thats how you spell it) and it helps quite a bit. it also has a disk with applets and jdk ect in it.

IMN logo majestic logo threadwatch logo seochat tools logo