wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes Help with multiple Swing Popups Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Help with multiple Swing Popups" Watch "Help with multiple Swing Popups" New topic
Author

Help with multiple Swing Popups

Duke Matlock
Greenhorn

Joined: May 05, 2005
Posts: 2
We have a system that we're using multiple swing popups for different events.

In our system, we have alerts that make popups. I work on a imaging tool that has a color change popup and a zoom/pan popup.

Once I'm done with one of my popups, I hide the popup. However, it still affects all alert popups that follow.



Any ideas? Thanks!


From the Ghostbusters School of Consulting,<br /> <br />Duke (SCJP, SCWCD)
Rachel Swailes
Ranch Hand

Joined: May 18, 2004
Posts: 434
Please post some code so that we can see why this could be happening.
Duke Matlock
Greenhorn

Joined: May 05, 2005
Posts: 2
The popups are all being built with...

Popup popup = PopupFactory.getSharedInstance().getPopup(parentFrame, popupPanel, x, y)

I did notice that if I null my popup it works, but hiding it causes a failure.

Should I move away from popups?

Or should we change the priority popups to HeavyWeightPopup? What would that do for us?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Help with multiple Swing Popups
 
Similar Threads
FireFox, taking back the web?
JFrame positioning
How can I detect whether my popup window is blocked by a popup blocker?
Closing windows in JavaScript
Using ModalDialogs instead of Window.open for popups