🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #12377

Missing windowDeactivated() Event under JDK1.2

#12377
From: Klaus Friedel
Date: Fri, 15 Jan 1999 00:00
22 lines
1086 bytes
After switching from jdk 1.1.6 / swing 1.0.3 to jdk1.2 the
JWindow-Component
does't receive windowDeactivated() events any more.

I opened a JWindow and added an simple WindowListener:

    selectWindow.addWindowListener(new java.awt.event.WindowAdapter()
    {
      public void windowDeactivated(WindowEvent e)
      {
        System.out.println("Window decativated");
      }
    });

It worked perfekt under the old jdk/swing but under jdk1.2 nothing
happens if the window gets deactivated.

Any suggestions ??

Bye,

K.Friedel
Technical Details
Message-ID: <369F70BE.9A0F212D@topmail.de>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,e8b40e30002cdc4a,start
X-Google-Attributes: gid111d45,public
From: Klaus Friedel <friedel@topmail.de>
Subject: Missing windowDeactivated() Event under JDK1.2
Date: 1999/01/15
Message-ID: <369F70BE.9A0F212D@topmail.de>
X-Deja-AN: 432990629
Content-Transfer-Encoding: 7bit
X-Accept-Language: de
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing