public void actionPerformed(ActionEvent event) {
			
			try {
				rateField.commitEdit();
				hoursField.commitEdit();
				salaryField.commitEdit();
			} catch (ParseException e) {
				e.printStackTrace();
			}
			
			rate = ((Number)rateField.getValue()).doubleValue();
			hours = ((Number)hoursField.getValue()).doubleValue();
			salary = ((Number)salaryField.getValue()).doubleValue();
			
			calculate(rate, hours, salary);		
			
		}