aspose file tools*
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
Author

JDialog

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="http://www.mars3000.com" target="_blank" rel="nofollow">http://www.mars3000.com</a>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JDialog