Article View: borland.public.jbuilder.java.swing
Article #9758jdbTextField validation
From: bjm989
Date: Thu, 20 Jan 2000 00:00
Date: Thu, 20 Jan 2000 00:00
17 lines
1190 bytes
1190 bytes
I'm trying to validate a JdbTextField character by character by creating a custom document that extends PlainDocument and overriding the insert method. However, if I set the columnName and dataSet of the JdbTextField, my custom document no longer seems to be the document to which my text field is set. Is there any way to limit the amount of characters that can be entered in a JdbTextField that will not risk deadlocking the JVM? I seemed to have had this problem when I overrode the processInputMethod event of the class. Thanks for any expertise. Ben Sent via Deja.com http://www.deja.com/ Before you buy.
Technical Details
Message-ID:
<8661au$9kb$1@nnrp1.deja.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,5b1c6e9dcd4f80ef,start X-Google-Attributes: gid111d45,public From: bjm989@my-deja.com Subject: jdbTextField validation Date: 2000/01/20 Message-ID: <8661au$9kb$1@nnrp1.deja.com> X-Deja-AN: 574933059 X-Http-Proxy: 1.0 x28.deja.com:80 (Squid/1.1.22) for client 208.249.92.137 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Thu Jan 20 03:38:06 2000 GMT Newsgroups: borland.public.jbuilder.java.swing X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows 95)