This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: parent and child componenet problem
 
Similar Threads
JDialog
fix JDialog position relative to its parent JFrame component
How to access parent JFrame component from its Child frame
How to know if I got focus
Getting a null frame (Event dispatching problem?)