With Sun's JDK 1.0.2 i can create a textarea with a String with a size > 100 K, the same code fails under Windows 95. How can i work around this problem ?? (another prove that Java is NOT platform independant !!)
Well i should correct this a little bit :
Making a String of > 200 K is no problem (with Win95 or Solaris), but when i want to put it into a textarea, nothing happens with Win95 and it works fine with Solaris.
String MyString=new String(...); //assume it has a size >64K
TextArea xx=new TextArea(MyString) //Does NOT load the text in MyString with Win95 bnut works fine with Solaris.
Is this a bug in the awt implementation (it also happens with JDK 1.1) for Win95 ?? And if so, how can i work around it ??