I believe dispose() frees some internal memory resources and should be used only in case that the dialog will never be opened again (to allow the work of the garbage collector and to make it easier for it?)
Either use hide/show combinations or use the setVisible(true|false) - which is the newer version of JDialog, if I remember correctly. Karsten > Hi: > > I'm experiencing something weird with a Table. > > I have a Table in a Dialog which displays properly when the dialog is > initially displayed. However, when I close the dialog with a dispose() call and > then reopen it with a show() call, the Table flashes and then disappears. Other > buttons and text in the dialog show up just fine. > > Any help or pointers are greatly appreciated. > > Sincerely, > > Mona > > ================================================================== > Mona Wong > National Center for Microscopy and Imaging Research > University of California, San Diego > http://ncmir.ucsd.edu/ > > "The truth shall set you free, but first it will piss you off" > A Landmark instructor > ================================================================== > > =========================================================================== > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > of the message "signoff JAVA2D-INTEREST". For general help, send email to > [EMAIL PROTECTED] and include in the body of the message "help". -- Karsten Trott Technical Lead, Intuitive Design Interface , Get2Chip.com, Inc. Staff R&D Engineer Phone: +49-89-5908-2333 Fax: +49-89-5908-1328 =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA2D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
