Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Always on top like MSN taskbar notifier Popup

Posted on 2004-09-29
5
Medium Priority
?
509 Views
Last Modified: 2008-03-10
I am trying to make a Popup like MSN (unfortunate requirement from Client :))
I am extending JDialog class and used this.setUndecorated(true); to remove all the title bars ect from it.
Then I could paint an Image on it.

Now the problem which i am facing is to keep the window on top of every control.
I have used
this.toFront(); method to keep it on top of the stack but it doesnot stay on top as soon as I click some application it goes back.. So what I did is in Paint method, i called this.toFront();

but still it doesnot behave like MSN

Is there anyway I  can keep it on the Top as MSN popup, (I cannot make it a Model)

Any one knows about some native calls for this purpose?
Thanx for suggestions
0
Comment
Question by:armoghan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 92

Expert Comment

by:objects
ID: 12178253
best to ask in the relevant OS programming TA
0
 
LVL 86

Assisted Solution

by:CEHJ
CEHJ earned 200 total points
ID: 12178298
0
 
LVL 92

Accepted Solution

by:
objects earned 800 total points
ID: 12178306
0
 
LVL 18

Author Comment

by:armoghan
ID: 12234871
The link given by objects uses some class which i could not find, but I found someother workaround
Thanx
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 12235796
:-)
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
Suggested Courses

597 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question