• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JDialog

 
Ranch Hand
Posts: 158
Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
reply
    Bookmark Topic Watch Topic
  • New Topic