Article View: borland.public.jbuilder.java.swing
Article #10449JWindow windowDeactivated doesn't seem to work !!
From: Nadia AKROUR
Date: Wed, 29 Sep 1999 00:00
Date: Wed, 29 Sep 1999 00:00
16 lines
1086 bytes
1086 bytes
Hello, Perhaps someone has already answered the problem but I could not find about it... Here is my problem : I want a Jwindow to popup on a button clic and a simple clic anywhere out of the window should close it. So I've add a WindowListener to my window and call dispose() in the deactivatedWindow(). But It doesn't work and my window never closes !! I think it was a known bug with jdk 1.1.6 (JBuilder2) but now I'm using jdk 1.2.2 whith JB3 and it seems not to work yet... Have you any suggestion about this ? Thanks in advance. -- Nadia.
Technical Details
Message-ID:
<37F1F05A.39A59771@spring.fr>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,48eb60fc7fd3ad91,start X-Google-Attributes: gid111d45,public From: Nadia AKROUR <nakrour@spring.fr> Subject: JWindow windowDeactivated doesn't seem to work !! Date: 1999/09/29 Message-ID: <37F1F05A.39A59771@spring.fr> X-Deja-AN: 530646707 Content-Transfer-Encoding: 7bit Organization: SPRING TECHNOLOGIES X-Accept-Language: fr-FR,en Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing