Always on top like MSN taskbar notifier Popup

Posted on 2004-09-29
Medium Priority
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
Question by:armoghan
  • 2
  • 2
LVL 92

Expert Comment

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

Assisted Solution

CEHJ earned 200 total points
ID: 12178298
LVL 92

Accepted Solution

objects earned 800 total points
ID: 12178306
LVL 18

Author Comment

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

Expert Comment

ID: 12235796

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
This video teaches viewers about errors in exception handling.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

587 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