Solved

Always on top like MSN taskbar notifier Popup

Posted on 2004-09-29
5
491 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
  • 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 100 total points
ID: 12178298
0
 
LVL 92

Accepted Solution

by:
objects earned 400 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Modeling a class in java 5 44
Cipher Configuration on Apache HTTPD 4 50
Java DateChooser? 3 29
Spring Framework HTTPSession management 1 21
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
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…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
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.

947 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now