🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #12147

Re: Max length for JTextField?

#12147
From: Matt Krevs
Date: Thu, 18 Feb 1999 00:00
33 lines
1519 bytes
Yep. But its very powerful. This applies to a lot of the swing components.
Sometimes it takes a long time to do what seem to be a very simple thing.
But Swing makes up for its initial complexity by being incredibly powerful
and flexible IMHO (most of the time anyway).

Mike Michalowicz wrote in message <36CB23B1.F2921D4E@hekimian.com>...
>Pretty complicated for something that can be done with
TextField.setLength(X)
>don't you think??
>(IMHO)
>
>Mike
>
>Matt Krevs wrote:
>
>> Look at DocumentListener
>>
>> Check out the following link
>>
>>
http://java.sun.com/docs/books/tutorial/uiswing/events/documentlistener.html
>>
>> Jason Burton wrote in message <78qlod$53q6@forums.borland.com>...
>> >How can I limit the number of characters that can be entered into a
>> >JTextField component?  Is there an easy method for this, or do I have to
do
>> >some sort of key listener?
>> >
>> >Thanks,
>> >Jason Burton
>> >
>> >
>
Technical Details
Message-ID: <7afcpq$ag16@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <78qlod$53q6@forums.borland.com> <78qmhq$53u5@forums.borland.com> <36CB23B1.F2921D4E@hekimian.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,6cae956220da4ed9
X-Google-Attributes: gid111d45,public
From: "Matt Krevs" <mattkrevs@flex.com.au>
Subject: Re: Max length for JTextField?
Date: 1999/02/18
Message-ID: <7afcpq$ag16@forums.borland.com>
X-Deja-AN: 445469680
References: <78qlod$53q6@forums.borland.com> <78qmhq$53u5@forums.borland.com> <36CB23B1.F2921D4E@hekimian.com>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.swing