return;
}
//Create a new job type or edit the current job type
if (currentJobType == null) {
currentJobType = new JobType(txtName.getText(), steStartingTime.getValue(), steEndingTime.getValue());
} else {
currentJobType.setName(txtName.getText());
currentJobType.setStartingTime(steStartingTime.getValue());
currentJobType.setEndingTime(steEndingTime.getValue());
}