• Post Reply Bookmark Topic Watch Topic
  • New Topic

Creating JDialog with Jdialog

 
Ricardo Estafan
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • 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 ]
 
Joe Ess
Bartender
Posts: 9361
11
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!