Solved

Always on top like MSN taskbar notifier Popup

Posted on 2004-09-29
5
498 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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

Suggested Solutions

For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

809 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