Article View: borland.public.jbuilder.java.language
Article #8250How can I force a Window to stay on top of all other windows?
From: Stephen Livesey
Date: Mon, 02 Apr 2001 12:08
Date: Mon, 02 Apr 2001 12:08
20 lines
1430 bytes
1430 bytes
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();
}
});
The best example I can think of that demonstrates this functionality that I
require is the Windows NT/2000 Task Manager, you can open the task manager
and it will stay on top of all of the other windows and you can still use
all of the other windows.
Does anyone have any ideas on how to do this in java?
Thanks, Steve
Technical Details
Message-ID:
<3ac86c97$1_1@dnews>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews!194.217.132.65Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,1f613dd55d8aea80,start X-Google-Attributes: gidf74b3,public X-Google-ArrivalTime: 2001-04-02 05:18:04 PST From: "Stephen Livesey" <exact3ex@hotmail.com> Newsgroups: borland.public.jbuilder.java.language Subject: How can I force a Window to stay on top of all other windows? Date: Mon, 2 Apr 2001 13:08:22 +0100 Lines: 24 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 NNTP-Posting-Host: 194.217.132.65 Message-ID: <3ac86c97$1_1@dnews> X-Trace: 2 Apr 2001 05:12:07 -0800, 194.217.132.65 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews!194.217.132.65