title: JFace wizard passing variables
body: <p>I'm a Java novice but am trying to produce a wizard using the <code>Wizard</code> class (org.eclipse.jface.wizard.Wizard)</p>
  
  <p>Basically where I extend the <code>Wizard</code> in the constructor I <code>addPage</code> the two pages I want.</p>
  
  <p>On my first page I take some credentials. </p>
  
  <p>On the second page I want to run a query against the database using the credentials from the first page to populate a table with names.</p>
  
  <p>How do I go about passing these values from the first to the second page?</p>
  
  <p>To all intents and purposes my code at present is the same as <a href="http://www.java2s.com/Code/Java/SWT-JFace-Eclipse/Asurveyusingawizard.htm" rel="nofollow noreferrer">http://www.java2s.com/Code/Java/SWT-JFace-Eclipse/Asurveyusingawizard.htm</a> except I obtain some strings from some text boxes on the first page and have a table on the second page.</p>
  
  <p>I have read about containers and see there is a setData() method, is this something I can utilize?</p>
  
  <p>Kind regards in advance</p>
  
  <p>David</p>