wood burning stoves 2.0*
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


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "parent and child componenet problem" Watch "parent and child componenet problem" New topic
Author

parent and child componenet problem

Suman Mummaneni
Ranch Hand

Joined: Dec 14, 2004
Posts: 87
Hi,

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
Bangalore
India
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 - InfoQ.com
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
 
 
subject: parent and child componenet problem