Dialog and dispose
I have a dialog with some buttons. Based on which button is pressed I will perform some action in its actionlistener. In every listener I call dlg.dispose().
call_method_to_start_working will spin of a new thread and show a progress screen while working. The problem is that this progress screen is not shown (I see though a flash of it).
It seems like dlg.dispose() does something magic and repaints it's parent after progrss screen is shown. Has anyone experienced this kind of problem?