🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Max length for JTextField?

#12291
From: Jason Burton
Date: Thu, 28 Jan 1999 00:00
6 lines
663 bytes
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: <78qlod$53q6@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,6cae956220da4ed9,start
X-Google-Attributes: gid111d45,public
From: "Jason Burton" <Jason.Burton@McLeodSoftware.com>
Subject: Max length for JTextField?
Date: 1999/01/28
Message-ID: <78qlod$53q6@forums.borland.com>
X-Deja-AN: 438084642
Organization: Another Netscape Collabra Server User
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Newsgroups: borland.public.jbuilder.java.swing