private void modifyPanelInit() {
		modifyPanel = new JPanel();
		
		//generates panels formatted layout of components
		generator.createRigidSpace(modifyPanel, 15);
		final JTable allClients = new JTable(allClientsModel.getTableModel(2));
		allClients.removeColumn(allClients.getColumn("ID Number"));
		allClients.setPreferredScrollableViewportSize(new Dimension(450, 70));
		allClients.setFillsViewportHeight(true);
		allClients.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
		JScrollPane scroll = new JScrollPane(allClients);
		scroll.setMaximumSize(new Dimension(TableWidth, 300));
		modifyPanel.add(scroll);
		
		JLabel idLabel = generator.createLabel(modifyPanel, "Please choose a row", "");
		JLabel emailLabel = generator.createLabel(modifyPanel, "Email");
		final JTextField emailInput = generator.createTextField(modifyPanel, "");
		JLabel companyLabel = generator.createLabel(modifyPanel, "Company");	
		final JTextField companyInput = generator.createTextField(modifyPanel, "");
		JLabel phoneLabel = generator.createLabel(modifyPanel, "Phone Number (xxx-xxx-xxxx)");	
		final JTextField phoneInput = generator.createTextField(modifyPanel, "");
		JLabel addressLabel = generator.createLabel(modifyPanel, "Address");
		final JTextField addressInput = generator.createTextField(modifyPanel, "");
		
		final JLabel resultLabel = generator.createLabel(modifyPanel, " ");	
		JButton updateButton = generator.createButton(modifyPanel, "Update", 5);
		JButton backButton = generator.createButton(modifyPanel, "Back", mainViewName, 5);

	    modifyPanel.setLayout(new BoxLayout(modifyPanel, BoxLayout.Y_AXIS));	
	    //conditions for when updateButton is pressed - attemps to update clients DB info
		updateButton.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e){
				boolean result = false;
				int clientId = 0;
				ClientClass client;
				
				//Quick Input Check
				if(emailInput.getText().matches("")	|| companyInput.getText().matches("") || phoneInput.getText().matches("") || addressInput.getText().matches("")){
					resultLabel.setText("Please fill out the empty fields");
					return;
				}
				if(allClients.getSelectedRow() == -1){
					resultLabel.setText("Please select a row, Please try again..."); 
	            	return;
				}
				//End Input Check
				
				clientId = allClientsModel.getIDFromRow(allClients.getSelectedRow());
				client = ClientControllerClass.getInstance().getClient(clientId);
				//setes clientclass to data from input fields
				client.setEmail(emailInput.getText());
				client.setCompany(companyInput.getText());
				client.setPhone(phoneInput.getText());
				client.setAddress(addressInput.getText());
				
				result = client.verifyInput();
				if(!result){
					resultLabel.setText("Invalid Client Information, Please try again...");
					return;
				}
				//attempts to modify the DB info for the clint
				result = ClientControllerClass.getInstance().modifyClient(client);
				if (result == true){
					resultLabel.setText("Client information successfully updated!");
					Object[] modifiedRow = {client.getClientId(), client.getFirstName(), client.getLastName(), client.getCompany(), client.getEmail(), client.getPhone(), client.getAddress()};
					allClientsModel.modifyData(modifiedRow, allClients.getSelectedRow());
					emailInput.setText("");
					companyInput.setText("");
					phoneInput.setText("");
					addressInput.setText("");
				} else {
					resultLabel.setText("Error modifying client in the database, Please try again...");
				}

			}
		});
		//sets the table to allow row selection only
		ListSelectionModel rowSM = allClients.getSelectionModel();
		rowSM.addListSelectionListener(new ListSelectionListener() {
		    @Override
			public void valueChanged(ListSelectionEvent arg0) {
				Object[] data = allClientsModel.getData(allClients.getSelectedRow());
				//sets the input labels to given table data
				companyInput.setText((String)data[3]);
				emailInput.setText((String)data[4]);
				phoneInput.setText((String)data[5]);
				addressInput.setText((String)data[6]);				
			}
		});
	}