🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #3163

Re: Text area for a large file

#3163
From: Dean Henkel
Date: Thu, 09 Apr 1998 00:00
57 lines
2373 bytes
Lars,

Rich is correct an Sun acknowledges this problem. They suggest using
JTextField from the Swing controls. Swing doesn't use peers so you shouldn't
have a problem with large test.

Dean

Rich Wilkman wrote:

> Lars:
>
> The limit comes from the peer, which is a fancy way of saying the
> limit is the same as the equivalent control on the OS.  In the case of
> WinTel that would be 32K or 64K characters.  The limit goes away when
> dependence on peers disappears from Java.  Most of the way there with
> Swing and should be "all the way" there in JDK 1.2.
>
> If you can't wait, you'll need to roll your own text area.
>
> -Rich
>
> Lars Toftgaard wrote:
> >
> > Hi,
> >
> > I need a text component to display a large text file. I have tried
> > TextArea
> > but it cannot take much ( or I am doing something wrong ).
> >
> > What is the limit af TextArea ? ( JBCL and AWT )
> >
> > What is the limit of the array ?
> >
> > Are these limits Jbuilder or Java ( Will they change ) ?
> >
> > Is there another control I can use that can display a large text file (
> > scrolling
> > is all I need ) ? or do I have to program the logic myself.
> >
> > Regards Lars
>
> --
>
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> 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: <352CD146.17F24A4A@us.ibm.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3529D42D.5660@DANISCO.COM> <352A4DEC.44499A86@corp.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,14608a9a8c23188d
X-Google-Attributes: gid1089d0,public
X-Google-Thread: f5619,14608a9a8c23188d
X-Google-Attributes: gidf5619,public
From: Dean Henkel <henkel@us.ibm.com>
Subject: Re: Text area for a large file
Date: 1998/04/09
Message-ID: <352CD146.17F24A4A@us.ibm.com>
X-Deja-AN: 342411094
Content-Transfer-Encoding: 7bit
References: <3529D42D.5660@DANISCO.COM> <352A4DEC.44499A86@corp.borland.com>
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.api,borland.public.jbuilder.jbcl