Did you put some tracing code in to prove that that code isn't actually 
executed twice the second time around? Event-driven software can be a tricky 
business.
   
  Maybe you neglected to remove an old event listener from some object that is 
dispatching the event that ultimately executes that code, and it's still 
lurking in memory, receiving that event and showing your Alert.

Richard Rodseth <[EMAIL PROTECTED]> wrote:
           I have a wizard which ends with the following alert:             

 alert = Alert.show("The message has been sent. Would you like to send 
another?", "", Alert.YES | Alert.NO, null, handleClose); 

If the user chooses YES the alert disappears from view, but next time there are 
two of them. Any obvious mistakes?



                         

Reply via email to