Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDialog is parent of another JDialog problem

 
Du Nguyen
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2539
9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic