Article View: borland.public.jbuilder.java.swing
Article #12193Events ...
From: Ingo Fischer
Date: Thu, 11 Feb 1999 00:00
Date: Thu, 11 Feb 1999 00:00
43 lines
2129 bytes
2129 bytes
Hi !!
I have an problem with Event-handling.
I have an dialog. In this dialog are some elements - especially a
text-field. When this textfiled LOOSES the focus some
event-handling-code (some checkings) is executed.
There is an OK-Button too that closes the dialog ...
Now I have the following problem.
After editing the textfield there are two possibilities :
1.) You edit an other field. That means that the event-checking-code is
executed and everything is ok.
2.) But when you click on the Ok-Button when the textfield still have
the focus the it is not said which event-code is executed first.
Some times the event-code from the field is executed and after this the
button, but some times the button-code is executed first and then the
text-field-code.
I need it in the first sequence - FIRST the textfield-event-code and
THEN the Button. This is because the textfield maybe gets changed in its
event-code ...
Any ideas out there ??
Greetings
Ingo
--
_____________________________________________________________________
NOF-Components : http://www.apollon.de/Components/
Component-Support : http://www.apollon.de/support/
Privat-Pages : http://www.apollon.de/Privat/
Developer-Pages : http://www.apollon.de/Developer/
___ ____ __ __ ___ ______________________________________________
/ / |/ \/ \/ _/ Homepage : http://www.apollon.de
_/ / ^ | ^ / ^ / _/ E-Mail : ingo.fischer@apollon.de
_/__/_/|_|/\_\/\_\__/________________________________________________
| ICQ-# : 3183043 |
|_________________|
Technical Details
Message-ID:
<36C2C3CA.13192CAF@apollon.de>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,eec34355b45edec4,start X-Google-Attributes: gid111d45,public From: Ingo Fischer <ingo.fischer@apollon.de> Subject: Events ... Date: 1999/02/11 Message-ID: <36C2C3CA.13192CAF@apollon.de> X-Deja-AN: 443181479 Content-Transfer-Encoding: 7bit X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: FZK Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing