D
DeMarcus
Hi,
Why can't I set a title on a JDialog unless I give it an owner?
The problem is that I have a JPanel that fires the JDialog, but
how do I provide the JDialog with a valid owner? Somehow I need
to get hold of a Dialog or a Frame according to the JDialog's
constructors. But how can a JPanel get hold of that?
One thing that makes me believe there's a solution is the dirty
way of creating a JOptionPane and use the createDialog(). What's
that function doing behind the scenes?
Thanks.
~ Daniel
Why can't I set a title on a JDialog unless I give it an owner?
The problem is that I have a JPanel that fires the JDialog, but
how do I provide the JDialog with a valid owner? Somehow I need
to get hold of a Dialog or a Frame according to the JDialog's
constructors. But how can a JPanel get hold of that?
One thing that makes me believe there's a solution is the dirty
way of creating a JOptionPane and use the createDialog(). What's
that function doing behind the scenes?
Thanks.
~ Daniel