Article View: borland.public.jbuilder.java.swing
Article #12695Re: Detecting the "activated" property
From: Matt Krevs
Date: Sun, 29 Nov 1998 00:00
Date: Sun, 29 Nov 1998 00:00
20 lines
1105 bytes
1105 bytes
Maybe you could add a FocusListener to the window itself. I window would be 'active' when the focusGained() method istriggered. St๏ฟฝphane Bonnet wrote in message <365FAEB3.88480A21@cs.tut.fi>... > >Hi > >this post may look a bit stupid, but i really didn't manage to find the >answer in the documentation. I am using JDK1.1.7 > >My problem is that i want to test if the window (JFrame actually) is >activated at a certain point. I was looking for a method like >isActivated(), but it doesn't exist. the method isShowing does not give >a good result. > >any help ? > >Thanks, > >Stephane.
Technical Details
Message-ID:
<73ps1l$hqr7@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<365FAEB3.88480A21@cs.tut.fi>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 111d45,6fa1befc19594ba4 X-Google-Attributes: gid111d45,public From: "Matt Krevs" <mattkrevs@flex.com.au> Subject: Re: Detecting the "activated" property Date: 1998/11/29 Message-ID: <73ps1l$hqr7@forums.borland.com> X-Deja-AN: 416601221 References: <365FAEB3.88480A21@cs.tut.fi> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.swing