I'll add my interpretation:
You have a button you press to open a "pop up"
When you press it, it creates a pop-up window with a message, which you close.
When you press it again, it creates 2 pop-ups
when you press it again, it creates 3 pop-ups
etc.
It's supposed to create 1 pop-up each time.
My thought is that each button press creates, but does not destroy a popup. As a result, when you "show" a popup the second time, it shows BOTH existing popups.
I don't know Java well enough to know if this is what's actually happening, but that's my theory.
|