Article View: borland.public.jbuilder.java.swing
Article #12966JTextField not obeying columns restriction?
From: Adam Chace
Date: Tue, 13 Oct 1998 00:00
Date: Tue, 13 Oct 1998 00:00
5 lines
793 bytes
793 bytes
I have a JTextField component in which I'd like to restrict the number of characters that can be added to, say, 10. If I set the columns property to 10 or any number, the user can still enter as many characters as they want. This is even true of the AWT Field Control. Am I missing something?
Technical Details
Message-ID:
<3624289E.5FE9A56E@apogeeis.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,19d0a032f428dc48,start X-Google-Attributes: gid111d45,public From: Adam Chace <achace@apogeeis.com> Subject: JTextField not obeying columns restriction? Date: 1998/10/13 Message-ID: <3624289E.5FE9A56E@apogeeis.com> X-Deja-AN: 400825439 Content-Transfer-Encoding: 7bit Organization: Apogee Information Systems Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing