File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes parent and child componenet 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 "parent and child componenet problem" Watch "parent and child componenet problem" New topic

parent and child componenet problem

Suman Mummaneni
Ranch Hand

Joined: Dec 14, 2004
Posts: 89


I have a developed a JDialog and a JFrame. A button on the dialog invokes the JFrame but this frame does not work propely. It behaves as if its been disabled none of button on the frame works and even the window buttons also do not work. Its just gets stuck in the to left hand corner of the screen . I think it problem is with a JFrame being a child of the JDialog. I do not how to break this. If any one can please mail me.

Suman Mummaneni
Alexandru Popescu
Ranch Hand

Joined: Jul 12, 2004
Posts: 995
For the beginning it would be a good start to let us know more about your code, even paste here the important snippets.

:alex |.::the_mindstorm::.

blog -
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
possibly, if you have the Dialog's modal set to true, it's not allowing
anything else to have the focus
I agree. Here's the link:
subject: parent and child componenet problem
jQuery in Action, 3rd edition