I called repaint() on the container after the dialog is
dismissed. It seems to work around the problem.

But I do not believe this is the way it is supposed 
to work. So I would still appreciate any comment.

Thanks

Mingjian Song


> -----Original Message-----
> From: Song, Mingjian [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, October 24, 2001 5:41 PM
> To:   [EMAIL PROTECTED]
> Subject:      Open dialog from popup menu
> 
> Hi, All,
> 
> I wonder if someone knows how to fix this.
> 
> Selecting one of the menu items on my popup menu 
> will open a dialog. After I dismiss the dialog, 
> the popup menu is still partially visible behind
> the dialog in the display.
> 
> Did I miss something obvious here? I sure can open
> a dialog from the event-dispatch thread, right?
> 
> Thanks,
> 
> Mingjian Song  
> 
_______________________________________________
Swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/swing

Reply via email to