🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Max length for JTextField?

#12297
From: Matt Krevs
Date: Fri, 29 Jan 1999 00:00
15 lines
914 bytes
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: <78qmhq$53u5@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <78qlod$53q6@forums.borland.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/01/29
Message-ID: <78qmhq$53u5@forums.borland.com>
X-Deja-AN: 438096146
References: <78qlod$53q6@forums.borland.com>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.swing