Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDialog

 
Anand Karia
Ranch Hand
Posts: 156
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Pat Hays
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Anand

The main form should be a JFrame, Why do you want to use a JDialog as the main form?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic