File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
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: 2180
    
    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