[5379] in java-interest
Text Area bug
daemon@ATHENA.MIT.EDU (Kenneth Lum)
Wed Feb 7 09:30:05 1996
Date: Wed, 07 Feb 1996 04:51:55 -0800
From: Kenneth Lum <kinlum@hooked.net>
To: Java Interest <java-interest@java.sun.com>
It seems that replaceText() for the TextArea class has a bug
of "inserting" text rather than replacing.
For example, if in addition to other call to replaceText() in
a loop I add:
ta.replaceText("1234567890", 0, 9);
ta.replaceText("A", 0, 0);
Then the beginning of the text area shows at first
"A234567890", but then next time it begins to show something weird like
"AA23456789090" -- something like that -- it seems to be inserting
a couple of extra characters, in other words.
Does some one know? Is it a known bug?
Thanks,
-- Kenneth
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com