wood burning stoves*
The moose likes Swing / AWT / SWT and the fly likes JDialog is parent of another JDialog problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JDialog is parent of another JDialog problem" Watch "JDialog is parent of another JDialog problem" New topic
Author

JDialog is parent of another JDialog problem

Du Nguyen
Greenhorn

Joined: May 10, 2013
Posts: 1
Hello, everybody!

I have a 3 screens as follows:

- MainGUI: main user interface of my application.
- Param_GUI: when I click menuitem on menubar to configure parameters. This JDialog will display.
- ProgressMonitor: this jdialog will display when I click analyz button from Param_GUI.

My problem is when I click Analyze button from Param_GUI, jdialog Param_GUI will dispose() and only one ProgressMonitor visible with MainGUI.
I don't know how to keep visible Param_GUI until ProgressMonitor finishes its task.

Anybody have experience, please help me.

Tks so much!
Rob Camick
Ranch Hand

Joined: Jun 13, 2009
Posts: 2091
    
    7
Somewhere in your code you have dialog.dispose() or something like that.

We are not mind readers, we can't guess what you are doing wrong.

Post a SSCCE that demonstrates the problem. Chances are that when you attempt to create the SSCCE you will find the problem.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JDialog is parent of another JDialog problem
 
Similar Threads
JDialog from JinternalFrame
Where's my ProgressMonitor content?
JDialog Window hides
Correct behaviour when launching a new window and getting rid of the first window
Updating Database using JTables