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

x
?
Solved

Java popup without losing focus?

Posted on 2009-04-12
4
Medium Priority
?
281 Views
Last Modified: 2013-12-29
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
Comment
Question by:ecuguru
[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
4 Comments
 
LVL 24

Expert Comment

by:sciuriware
ID: 24125939
That's a modeless dialog.

;JOOP!
0
 
LVL 24

Accepted Solution

by:
sciuriware earned 1000 total points
ID: 24125940
If you create a dialog-like:

JDialog d = new JDialog(mainFrame, false) ;

you got one. 'mainFrame' can be null.

;JOOP!
0
 
LVL 25

Assisted Solution

by:InteractiveMind
InteractiveMind earned 1000 total points
ID: 24126023
I personally use a JWindow, and call setAlwaysOnTop(true). I've never noticed the problem.
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
This video teaches viewers about errors in exception handling.
Suggested Courses

636 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