public void actionPerformed(ActionEvent e) 
		{
			if(newDescription.getText().equals("") || newPrice.getText().equals("") || newTimeRequired.getText().equals(""))
			{
				JOptionPane.showMessageDialog(null, "Null data not accepted!");
				return;
			}
			else
			{
				double price;
				Time timeRequired;
				int hours;
				String stringMinutes;
				
				try
				{
					int time = Integer.parseInt(newTimeRequired.getText());
					hours = time/60;
					int minutes = time%60;
					if(minutes<10)
					{
						stringMinutes = "0" + minutes;
					}
					else
					{
						stringMinutes = Integer.toString(minutes);
					}
				}
				catch(NumberFormatException e1)
				{
					JOptionPane.showMessageDialog(null, "Invalid format for New Time Required! Enter an integer.");
					return;
				}
				try
				{
					price = Double.parseDouble(newPrice.getText());
				}
				catch(NumberFormatException e2)
				{
					JOptionPane.showMessageDialog(null, "Invalid format for New Price! Enter in the format \"0.00\".");
					return;
				}
				try 
				{
					PreparedStatement newServiceEntry = conn.prepareStatement("INSERT INTO service_data (ServiceDescription, Price, TimeRequired) VALUES(?, ?, ?)");
					newServiceEntry.setString(1, newDescription.getText());
					newServiceEntry.setDouble(2, price);
					newServiceEntry.setTime(3, Time.valueOf(hours + ":" + stringMinutes + ":00"));
					newServiceEntry.executeUpdate();
					JOptionPane.showMessageDialog(null, "Successful addition!");
					buildSelectionPanel(-1);
				} 
				catch (SQLException e1) 
				{
					JOptionPane.showMessageDialog(null, "SQL input error");
					e1.printStackTrace();
				}
			}
		}