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 JDialog Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JDialog" Watch "JDialog" New topic


Anand Karia
Ranch Hand

Joined: Sep 25, 2004
Posts: 156

I have made a form using JDialog. Thats is working fine.

But now i have made 2 small form using JFrame and JDialog. When i call JFrame while working on 1st JDialog (Main Form) on a button click event, then i am facing problem.

JFrame is showing but i cant do anything on it. Even i cant click button. But when i call JDialog, it cant open but showing a huge line of errors.

But when i make JFrame as main form and calling JDialog or JFrame i am able to do what ever i want.

Can anybody help me out in it.

Love is GOD and GOD is Love.
Anand Karia
IT Concretor.......
M/s. Anand Karia Concreting IT
Pat Hays
Ranch Hand

Joined: Aug 20, 2004
Posts: 138
Hi Anand

The main form should be a JFrame, Why do you want to use a JDialog as the main form?

Download Java GUI Builder, <a href="" target="_blank" rel="nofollow"></a>
I agree. Here's the link:
subject: JDialog
It's not a secret anymore!