🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #16311

Re: TextArea Control has max character limit?

#16311
From: Richard Wilkman
Date: Tue, 09 Mar 1999 00:00
37 lines
1707 bytes
Peter:

The limit is set by the local peer (basically it uses the Windows
equivalent of a TextArea), and on Windows I believe that the limit is
32K.  There is also a pixel limit 64K on the scrollpane that you may
hit.

Instead of trying to shove the whole thing in there, try lazy loading
the file contents into the window on demand.

-Rich

Peter wrote:
> 
> Hi,
>     I am using JDK1.1's TextArea control. I need to import
> a text file into this area and found that I am not able
> to import all characters into it. My file is about 45K.
> Is there any way I can increase the limit.
> I can't use swing as it involves a lot of rewrite.
> Thanks
> Peter

-- 

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rich Wilkman
Senior Quality Assurance Engineer
Borland JBuilder Team

If you see something that looks like an opinion up there,
it's mine and mine alone.

Mail sent to me from the newsgroups won't bounce but will
be ignored.  If I have time, I'll respond, but you  have
a better chance if you confine your posts to the newsgroups
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID: <36E53F58.BEEB176F@inprise.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <36E45700.685A8BB0@gltechnology.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,86e121aaa584e5b5
X-Google-Attributes: gidf74b3,public
From: Richard Wilkman <rwilkman@inprise.com>
Subject: Re: TextArea Control has max character limit?
Date: 1999/03/09
Message-ID: <36E53F58.BEEB176F@inprise.com>
X-Deja-AN: 453003703
Content-Transfer-Encoding: 7bit
References: <36E45700.685A8BB0@gltechnology.com>
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language