Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help with multiple Swing Popups

 
Duke Matlock
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
Rachel Swailes
Ranch Hand
Posts: 434
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please post some code so that we can see why this could be happening.
 
Duke Matlock
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic