Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 287
  • Last Modified:

Java popup without losing focus?

I'm trying to replicate the sorta Windows Outlook Express popup when you get an email, or when you get a chat message, in Java.

The popup grows from the bottom right corner, it has some text in it.  But the real trick is, while it's the window on top, it doesn't take the focus away from the rest of whatever you're looking at.  Anyone know of any Java classes in J2SE that do that sort of, background popup?
0
ecuguru
Asked:
ecuguru
  • 2
2 Solutions
 
sciuriwareCommented:
That's a modeless dialog.

;JOOP!
0
 
sciuriwareCommented:
If you create a dialog-like:

JDialog d = new JDialog(mainFrame, false) ;

you got one. 'mainFrame' can be null.

;JOOP!
0
 
InteractiveMindCommented:
I personally use a JWindow, and call setAlwaysOnTop(true). I've never noticed the problem.
0
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

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.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now