Duplicate :
|
Name: sg39081 Date: 08/14/97 I'm using instances of TextArea to display ASCII files. I find that when I load a file of 90K size into a TextArea instance with ' TextArea.setText(String)' the method call completes successfully but no text is displayed. The TextArea instance continues to appear as though nothing is loaded. If instead of using 'setText' you use - setText(""); append(String); then this time a fraction of the 90k string is displayed and can be scrolled through as normal. However the other fraction is ignored and is not viewable. It appears the original String is truncated at an arbitrary point when it is appended. It seems that TextArea has some internal limit on the amount of text that can be loaded into it. If this is the case then I'd recommend it be documented so that this limitation can be worked around. ======================================================================