public GenerateInformation(){
		
		c = new GridBagConstraints();
		
		generateCustomers = new JButton("Generate Customers");
		generateVendors = new JButton("Generate Vendors");
		generateBoth = new JButton("Generate Both");
		
		numCustomers = new JSlider(1,maxCustomers,customerSliderStart);
		numVendors = new JSlider(1,maxVendors,vendorSliderStart);
		
		// Create text areas with slider starting value
		numCustomersCounter = new JTextField((new Integer(customerSliderStart).toString()));
		numVendorsCounter = new JTextField(new Integer(vendorSliderStart).toString());
		
		numCustomersCounter.setHorizontalAlignment(JTextField.CENTER);
		numVendorsCounter.setHorizontalAlignment(JTextField.CENTER);
		
		setLayout(new GridBagLayout());
		
		c.fill = GridBagConstraints.BOTH;
		c.weightx = .3;
		c.weighty = .3;
		c.gridx = 0;
		c.gridy = 0;
		c.insets = new Insets(10,10,0,10);
		add(numCustomersCounter,c);
		
		c.gridx = 1;
		add(numVendorsCounter,c);
		
		c.weightx = 1;
		c.weighty = 1;
		c.gridx = 1;
		c.gridy = 1;
		c.gridheight=1;
		c.gridwidth =1;
		add(numVendors,c);

		c.gridx = 0;
		c.gridy = 1;
		add(numCustomers,c);
		
		c.insets = new Insets(0,10,10,10);
		c.gridx = 0;
		c.gridy = 2;
		add(generateCustomers,c);
		
		c.gridx = 1;
		c.gridy = 2;
		add(generateVendors,c);
		
		c.gridx = 0;
		c.gridy = 3;
		c.gridwidth = 2;
		add(generateBoth,c);
		
		numVendorsCounter.addActionListener(new ActionListener(){

			@Override
			public void actionPerformed(ActionEvent e) {
				
				try {
					Integer i = new Integer(numVendorsCounter.getText());
				
					// If the user enters nonsense, This isn't dead code.
					if(i > maxVendors || i < 1) {
						i = new Integer(vendorSliderVal);
						numVendorsCounter.setText(i.toString());
					} else {
						numVendors.setValue(i);
					}
				} catch (Exception E) {
					Integer i = new Integer(vendorSliderVal);
					numVendorsCounter.setText(i.toString());
				}
			}
		});
		
		numCustomersCounter.addActionListener(new ActionListener(){

			@Override
			public void actionPerformed(ActionEvent e) {
				
				try {
					Integer i = new Integer(numCustomersCounter.getText());
				
					// If the user enters nonsense, This isn't dead code.
					if(i > maxCustomers || i < 1) {
						i = new Integer(customerSliderVal);
						numCustomersCounter.setText(i.toString());
					} else {
						numCustomers.setValue(i);
					}
				} catch (Exception E) {
					Integer i = new Integer(customerSliderVal);
					numCustomersCounter.setText(i.toString());
				}
			}
		});
		
		// Add wrapper class change listener to update the values in the text areas.
		numCustomers.addChangeListener(new SliderListener(numCustomersCounter,numCustomers,0));
		numVendors.addChangeListener(new SliderListener(numVendorsCounter,numVendors,1));
		
		// Get the value of the slider for number of customers to be generated when button is clicked.
		generateCustomers.addActionListener(new ThreadedActionListener(1));
		generateVendors.addActionListener(new ThreadedActionListener(2));
		generateBoth.addActionListener(new ThreadedActionListener(3));
		
	}