private void initGUI() 
	{
		try {
			{
				lblAgentAddModify = new JLabel();
				getContentPane().add(lblAgentAddModify);
				lblAgentAddModify.setText("Add Agent");
				lblAgentAddModify.setFont(new java.awt.Font("Dialog",1,20));
				lblAgentAddModify.setBounds(0, 5, 557, 50);
				lblAgentAddModify.setHorizontalAlignment(SwingConstants.CENTER);
			}
			{
				jPanelMiddle = new JPanel();
				getContentPane().add(jPanelMiddle);
				jPanelMiddle.setBorder(BorderFactory.createEtchedBorder(BevelBorder.LOWERED));
				jPanelMiddle.setBounds(29, 61, 504, 298);
				jPanelMiddle.setLayout(null);
				{
					jLabel1 = new JLabel();
					jPanelMiddle.add(jLabel1);
					jLabel1.setText("* Required field");
					jLabel1.setBounds(336, 257, 144, 19);
					jLabel1.setForeground(new java.awt.Color(165,42,42));
					jLabel1.setHorizontalAlignment(SwingConstants.RIGHT);
				}
				{
					lblFirstName = new JLabel();
					jPanelMiddle.add(lblFirstName);
					lblFirstName.setText("* First Name:");
					lblFirstName.setBounds(29, 23, 150, 21);
					lblFirstName.setHorizontalAlignment(SwingConstants.RIGHT);
				}
				{
					txtFirstName = new JTextField();
					jPanelMiddle.add(txtFirstName);
					txtFirstName.setBounds(191, 24, 278, 22);
				}
				{
					lblMI = new JLabel();
					jPanelMiddle.add(lblMI);
					lblMI.setText(" Middle Initial:");
					lblMI.setBounds(29, 58, 150, 21);
					lblMI.setHorizontalAlignment(SwingConstants.RIGHT);
				}
				{
					txtMI = new JTextField();
					jPanelMiddle.add(txtMI);
					txtMI.setBounds(191, 62, 278, 22);
				}
				{
					lblLastName = new JLabel();
					jPanelMiddle.add(lblLastName);
					lblLastName.setText("* Last Name:");
					lblLastName.setBounds(29, 99, 150, 21);
					lblLastName.setHorizontalAlignment(SwingConstants.RIGHT);
				}
				{
					txtLastName = new JTextField();
					jPanelMiddle.add(txtLastName);
					txtLastName.setBounds(191, 100, 278, 22);
				}
				{
					lblPhone = new JLabel();
					jPanelMiddle.add(lblPhone);
					lblPhone.setText("* Phone (xxx-xxx-xxxx):");
					lblPhone.setBounds(2, 136, 177, 21);
					lblPhone.setHorizontalAlignment(SwingConstants.RIGHT);
				}
				{
					txtPhone = new JTextField();
					jPanelMiddle.add(txtPhone);
					txtPhone.setBounds(191, 138, 278, 22);
				}
				{
					lblEmail = new JLabel();
					jPanelMiddle.add(lblEmail);
					lblEmail.setText("* Email:");
					lblEmail.setBounds(29, 175, 150, 21);
					lblEmail.setHorizontalAlignment(SwingConstants.RIGHT);
				}
				{
					txtEmail = new JTextField();
					jPanelMiddle.add(txtEmail);
					txtEmail.setBounds(191, 176, 278, 22);
				}
				{
					lblPosition = new JLabel();
					jPanelMiddle.add(lblPosition);
					lblPosition.setText("* Position:");
					lblPosition.setBounds(29, 210, 150, 21);
					lblPosition.setHorizontalAlignment(SwingConstants.RIGHT);
				}
				{
					txtPosition = new JTextField();
					jPanelMiddle.add(txtPosition);
					txtPosition.setBounds(191, 214, 278, 22);
				}
				{
					lblAgencyId = new JLabel();
					jPanelMiddle.add(lblAgencyId);
					lblAgencyId.setText("* Agency Id:");
					lblAgencyId.setBounds(29, 255, 150, 21);
					lblAgencyId.setHorizontalAlignment(SwingConstants.RIGHT);
				}
				{
					getContentPane().setLayout(null);
					this.setTitle("Travel Experts");
					//populate combobox with all agency ids available
					ComboBoxModel cmbAgencyIdModel = 
					new DefaultComboBoxModel(
							agentDB.getAgencyIds());
					cmbAgencyId = new JComboBox();
					jPanelMiddle.add(cmbAgencyId);
					cmbAgencyId.setModel(cmbAgencyIdModel);
					cmbAgencyId.setBounds(191, 255, 106, 22);
					
				}
				{
					jPanelBottom = new JPanel();
					FlowLayout jPanelBottomLayout = new FlowLayout();
					jPanelBottomLayout.setHgap(15);
					getContentPane().add(jPanelBottom);
					jPanelBottom.setBounds(0, 375, 557, 41);
					jPanelBottom.setLayout(jPanelBottomLayout);
					{
						btnSave = new JButton();
						jPanelBottom.add(btnSave);
						btnSave.setText("Save");
						btnSave.setPreferredSize(new java.awt.Dimension(79, 33));
						btnSave.addMouseListener(new MouseAdapter() {
							public void mouseClicked(MouseEvent evt) {
								btnSaveMouseClicked(evt);
							}
						});
					}
					{
						btnCancel = new JButton();
						jPanelBottom.add(btnCancel);
						btnCancel.setText("Cancel");
						btnCancel.setPreferredSize(new java.awt.Dimension(99, 33));
						btnCancel.addMouseListener(new MouseAdapter() {
							public void mouseClicked(MouseEvent evt) {
								dispose();
							}
						});
					}
				}
			}
			this.setSize(567, 463);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}