Solved

Java popup without losing focus?

Posted on 2009-04-12
4
266 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
  • 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 250 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 250 total points
ID: 24126023
I personally use a JWindow, and call setAlwaysOnTop(true). I've never noticed the problem.
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
get weblogic logged in user in java 2 58
diffSum example 4 27
javap bin 2 30
configure dependency in POM for new database 3 17
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
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 basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
This video teaches viewers about errors in exception handling.

864 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

25 Experts available now in Live!

Get 1:1 Help Now