ahh...thanks...

I did this:

          JDialog myWizard = new JDialog();
          myWizard.getContentPane().add(new WizardDialog());
          myWizard.setSize(500,350);
          myWizard.setModal(true);
          myWizard.show();

   where WizardDialog extends a JPanel.

Now I just need to decide/figureout/find out how to get my data from the
WizardDialog to
my main application. Floring mentioned using instance variables and I'll
have to see what
can be done.

thanks,

   Mario
Mariusz Zaczek
NASA - Johnson Space Center
Automated Vehicles and Orbit Analysis / DM35
Flight Design and Dynamics Division
Mission Operations Directorate
Bldg: 30A     Room: 3040A
Disclaimer: "The opinions, observations and comments expressed in my email
             are strictly my own and do not necessarily reflect those of
NASA."
"Failure is never quite so frightening as regret." - Cliff's wife (The Dish)

-----Original Message-----
From: Hans & Susan Horn [mailto:[EMAIL PROTECTED]
Sent: Friday, November 28, 2003 10:25 AM
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] ? Java Wizard ?


Mariusz,

the Dialog/Frame on the JDialog's ctor is meant the be your app's frame (so
the JDialog knows on-top of which window it is meant to be displayed).
No need to change your wizard component!
"..put my wizard inside.." means : dialog.getContentPane().add(wizard)

cheers,
H.
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to