i have a problem with using jdialog...

when create new jdialog and then i want to close it. but it hides self. after i try to load again it fails "OutofMemory". because always it is in my memory.

how can i remove this jdialog from my memory and how can i clear this error?

thanks a lot for your answers...

Musa YILMAZ

[303 byte] By [musa_yilmaz] at [2007-9-30 16:30:22]
# 1
You need to at least dispose() the dialog when you hide it..
jsalonen at 2007-7-6 0:12:56 > top of Java-index,Administration Tools,Sun Connection...
# 2
even if u have hide this jdialog. then u will have reference to it. so use this reference and call dispose method.
amersohail794 at 2007-7-6 0:12:56 > top of Java-index,Administration Tools,Sun Connection...