Child « Dialog « Java Swing Q&A





1. passing by reference when updating a child jdialog    forums.netbeans.org

I have a problem calling a jialog and returning data back to calling code. I can pass a RecordType into a class and set the value in a constructor fine, but ...

2. JDialog not disposing child JDialog    coderanch.com

Does your parent dialog (or any other objects) have a handle to this child that might be keeping it from GCing? If you are worried about the memory space it takes, why are you keeping the parent dialog around either? If you need something to happen that you set up in a custom finalize(), why not just move it to a ...

3. JDialog child of JDialog    coderanch.com

i'll take a crack at it since no one has responded yet ... (1) You can cast your parent JDialog as (Dialog) This will work to get rid of the error about the JFrame... final JDialog jd = new JDialog((Dialog)parentJDialog, "child dialog", true); (2) best practices i'm no authority, but i've had probs similar to the one you describe, and i ...