Hi
Mario,
it's
better to be a JDialog, mainly if you want it to be a modal one. I've done it
several times and it's working great.
So,
create the JDialog, put your wizard inside, don't forget to call on the dialog
setModal(true), and when you want to display it just call .show() method. The
method won't return until you close the dialog, because it's
modal.
About
passing the values: you just store them inside the dialog as instance variables.
Then in the code that invokes show(), after the method returns, you grab the
data from there.
Cheers,
Florin
=========================================================================== 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". |
- [JAVA3D] ? Java Wizard ? ZACZEK, MARIUSZ P. (MARIO) (JSC-DM) (NASA)
- Re: [JAVA3D] ? Java Wizard... Florin Herinean
- Re: [JAVA3D] ? Java Wizard... Hans & Susan Horn
- Re: [JAVA3D] ? Java Wizard... ZACZEK, MARIUSZ P. (MARIO) (JSC-DM) (NASA)
- [JAVA3D] Graphics Conf... Jean-Robert D'Amore
- Re: [JAVA3D] ? Java Wi... Hans & Susan Horn
- [JAVA3D] Graphics ... Jean-Robert D'Amore
- Re: [JAVA3D] ? Java Wizard... ZACZEK, MARIUSZ P. (MARIO) (JSC-DM) (NASA)
- Re: [JAVA3D] ? Java Wi... Hans & Susan Horn
- Re: [JAVA3D] ? Jav... Janos Kazsoki
- Re: [JAVA3D] ? Java Wizard... ZACZEK, MARIUSZ P. (MARIO) (JSC-DM) (NASA)
- Re: [JAVA3D] ? Java Wi... Hans & Susan Horn