creating a short wizard GUI



I'm creating a dialog window for adding a user to an LDAP directory. I ask for basic information in the dialog such as the user's first and last name along with some other things. After the window closes I have to take all those pieces of data and create a BasicAttributes object. Then I have to create an LdapName object with the object's distinguishedName as an argument. The LdapName object and the set of attributes are passed to the method that actually creates the entry in the directory.

The problem I'm running into is that I don't know how to stop subsequent methods from executing such as creating the LdapName object and even calling createSubContext() before the application user has entered information into the dialog for the user he/she is creating. I instantiate my dialog class, set it visible and before anything can happen the other methods are executed and I get errors because not all the information has been defined. I guess this process could be considered a 1 screen wizard and I was wondering what the normal design is for preventing subsequent methods from running within a wizard (or that is dependent on data defined during the wizard) before the wizard is done running. How can I go about pausing execution until the dialog has been closed? Is it a matter of setting up ActionListeners in the proper way so that methods are only called after getting a certain action command?


thanks
Brandon
.



Relevant Pages

  • Re: How to send a fax from a scanned document?
    ... Duke, Sorry I am late to answer, I have been working with a Dell tech.I have ... the bottom of the viewer,Photo Printing Wizard opens, click next Wizard ... next Window for "recipient opms.I fill in name and fax ...
    (microsoft.public.windowsxp.print_fax)
  • Re: How to send a fax from a scanned document?
    ... The first dialog from this wizard lets me pick what image I want to print. ... Configuration Wizard" and shows a summary of settings. ... You should see a window with the title "Fax Properties" with 5 ... To the moon and back with 64 Kbits of RAM and 512 Kbits of ROM. ...
    (microsoft.public.windowsxp.print_fax)
  • Re: How to send a fax from a scanned document?
    ... my cell #. ... "Fax Console" outbox nothing shown,open FAX monitor nothing shown ... the bottom of the viewer,Photo Printing Wizard opens, click next Wizard ... next Window for "recipient opms.I fill in name and fax number,3109445920,my ...
    (microsoft.public.windowsxp.print_fax)
  • Re: Winfax Starter Outlook 2000 - does not work
    ... Opened Outlook 2000. ... With the window titled "Personal Folders - Microsoft Outlook", ... Similarly, in the Actions submenu, I expected (after some Google ... I then discovered the FAX Wizard in New Office Document in the Office ...
    (microsoft.public.outlook.fax)
  • Re: saving filter
    ... Step through the wizard choosing the ... When the property window opens, ... Click and drag the names of the fields you want to sort by ... > What I would like to do is sort by Startdate, then starttime. ...
    (microsoft.public.access.gettingstarted)