-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
1.1.4
-
sparc
-
solaris_2.5.1
Name: mf23781 Date: 04/08/98
The problem originally occured on swing and can be demonstrated
by loading a file with 3000 lines or more into the notepad example.
If you try to type on one of the lines near the bottom the screen
should be corrupted.
We then reproduced the error using an awt TextArea in a ScrollPane
using the following testcase
import java.awt.*;
public class nonswing extends Frame
{
public nonswing()
{
ScrollPane sp = new ScrollPane();
int numlines=3000;
TextArea ta = new TextArea(numlines,80);
for (int i=0; i<100; i++)
ta.append("line "+i+"\n");
sp.add(ta);
add(sp);
}
public static void main(String[] args)
{
nonswing f = new nonswing();
f.setSize(300,400);
f.setVisible(true);
}
}
We tried this on 1.2 but although the problem with swing seemed
to go away the problem with the awt did not.
Is it possible to put the 1.2 fix for the swing code into the awt code
and put both back into 1.1
======================================================================
- duplicates
-
JDK-4316821 1.1.only TextArea Bug 4080391 should not have been closed : OS Win95, 98, NT40
- Closed
- relates to
-
JDK-4106806 TextArea should throw exception when too much text is added.
- Closed