JDialog Parent Question

If I extend JDialog in a class in my application, how am I able to set the parent of that dialog? I would prefer to extend JDialog rather than manually creating a dialog object.Thanks
[197 byte] By [iPodthere4iama] at [2007-11-27 8:22:23]
# 1

in the constructor

class XDialog extends JDialog

{

public XDialog(Frame owner)

{

super(owner);

}

}

Michael_Dunna at 2007-7-12 20:11:03 > top of Java-index,Desktop,Core GUI APIs...