• 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

Creating JDialog with Jdialog

 
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a helpGUI which construct a JDialog based on a given JFrame. Now i want to implement the helpGUI throughout my application. But some of the GUIs are Jdialog and not JFrame. And i cannot construct a Jdialog with a Jdialog.
Or perhaps how to create an abstract frame and inherit from this frame and make some of these operate as JDialogs(Making them modal).
What to do?
Thanks!!
[ May 04, 2004: Message edited by: Ricardo Estafan ]
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Ricardo Estafan:
What to do?


Familiarize yourself with inheritance and the
Java API Documentation. You can see that JDialog is a subclass of Dialog. JDialog can take a Dialog instance in its constructor, so you can have a JDialog with a JDialog parent.
reply
    Bookmark Topic Watch Topic
  • New Topic