Link to home
Start Free TrialLog in
Avatar of askrinsky
askrinsky

asked on

Work-around for 4500 word textarea limit

I'm bumping into a 4,500 word/29,395 character limit in my java textarea.  Is there a work-around that would allow me to put more stuff in my java text-areas .. ie. a web-page of material totaling 60,000 + characters?

Thanks so much!
ASKER CERTIFIED SOLUTION
Avatar of jpk041897
jpk041897

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of askrinsky
askrinsky

ASKER

(Edited by Computer101) that looks like a pain.  But thanks for your keen insights.

Why the limit anyway?  What's your read?

Thank you so much,

Anthony
Does the limit apply in JavaScript too?  I think it does unfortunately... what to do then?
>Why the limit anyway? What's your read?

The limits existance is not Java's fault, but the undering plattforms. (Windows to be precise).

Remember that allmost all of the AWT is handled by peer classes, which translates to native calls. When MS designed Windows (back in the days of Win 2.0) they figured that an upper limit of 32K was more then enough for an edit window. In those days memory models only allowed you 64K total for the data section of your program.

Of course, MS never figured on the future growth of hardware (no news here). Unfortunatley, MS's solution to the problem was the Rich Text edit control, which is not portable to other platforms.

Sun was therfore forced to choose between not porting for Windows or limmiting textField size for all plattforms. The market sort of forced a desition there.

>Does the limit apply in JavaScript too? I think it does unfortunately... what to do then?

Yes it does.

You can use Live Connect and let the applet handle the buffering for you