Article View: borland.public.jbuilder.java.language
Article #8251Re: How can I force a Window to stay on top of all other windows?
From: Joi Ellis [TeamB]
Date: Mon, 02 Apr 2001 15:57
Date: Mon, 02 Apr 2001 15:57
20 lines
1340 bytes
1340 bytes
Stephen Livesey <exact3ex@hotmail.com> wrote:
> I am trying to force a window to stay on top of all other windows, I have
> tried the following code, but it doesn't work:
> addWindowListener(new WindowAdapter()
> {
> public void windowDeactivated(WindowEvent e)
> {
> show();
> }
> });
I think you have to listen for the window losing focus, not being
deactivated.
--
Joi Ellis (TeamB)
No direct email, please.
For best results, post on news server newsgroups.borland.com!
Newsgroup Info: http://www.borland.com/newsgroups/guide.html
Technical Details
Message-ID:
<3ac8934b_1@dnews>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews!not-for-mailReferences:
<3ac86c97$1_1@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,1f613dd55d8aea80
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-04-02 08:10:06 PST
Message-ID: <3ac8934b_1@dnews>
From: "Joi Ellis [TeamB]" <joi@aravox.com>
Subject: Re: How can I force a Window to stay on top of all other windows?
Newsgroups: borland.public.jbuilder.java.language
References: <3ac86c97$1_1@dnews>
User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (Linux/2.2.16-3 (i686))
NNTP-Posting-Host: 209.46.41.66
Date: 2 Apr 2001 07:57:15 -0800
X-Trace: 2 Apr 2001 07:57:15 -0800, 209.46.41.66
Lines: 20
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews!not-for-mail