How much text can be put in a TextArea?
Ans : TextArea just uses the corresponding widget of the underlying window system. It will be bounded by the limit imposed in the native window system. In Windows 95 TextAreas can hold about 28Kb. The native widget allows 32Kb, but there is some overhead which reduces the amount available to the programmer. The limit is removed in JTextComponent in Swing (JDK 1.2) which dispenses with peer controls.