JDialog, dispose and removeAllLocales
I have a Java3D canvas in a dialog. I can hide the dialog but if I try to dispose of it, my machine hangs.
I can do a removeAll() to get rid of the components in the dialog (including the Canvas3D) before calling dispose(). That seems to get things a little further but then I get the "Send Error to Microsoft" message (I'm running on XP).
I've tried the call to dispose before and after calling removeAllLocales on the Universe object.
I would be grateful for any explanation of this and any advice on how to workaround it.
A related question:
What are the ramifications of not calling removeAllLocales in an application that creates and disposes (hopefully) several dialogs - each with a Java3D scene - several times over? Will I run out of system resources? Memory?