Article View: borland.public.jbuilder.java.swing
Article #8109Re: What is the purpose of dispatchEvent
From: Joi Ellis
Date: Wed, 25 Oct 2000 00:00
Date: Wed, 25 Oct 2000 00:00
20 lines
1407 bytes
1407 bytes
Jon Scoleri <jscoleri@webpipe.net> wrote:
> Does dispatchEvent allow me to throw an event on the object's queue to be
> processed after the current chain of events completes?
You want to be inspecting the data model, the PlainDocument behind the
text field.
See:
http://java.sun.com/docs/books/tutorial/uiswing/components/textfield.html#validation
http://java.sun.com/docs/books/tutorial/uiswing/events/documentlistener.html
http://java.sun.com/docs/books/tutorial/uiswing/components/example-swing/WholeNumberField.java
--
Joi Ellis Software Engineer
Aravox Technologies joi@aravox.com, gyles19@visi.com
No matter what we think of Linux versus FreeBSD, etc., the one thing I
really like about Linux is that it has Microsoft worried. Anything
that kicks a monopoly in the pants has got to be good for something.
- Chris Johnson
Technical Details
Message-ID:
<8t7edq$kmn8@bornews.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<39f736f7_1@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,7ffeb751053a24a8
X-Google-Attributes: gid111d45,public
From: Joi Ellis <joi@joi.aravox.com>
Subject: Re: What is the purpose of dispatchEvent
Date: 2000/10/25
Message-ID: <8t7edq$kmn8@bornews.borland.com>
X-Deja-AN: 685813087
References: <39f736f7_1@dnews>
Organization: Another Netscape Collabra Server User
User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (Linux/2.2.14-5.0 (i686))
Newsgroups: borland.public.jbuilder.java.swing