}
}
PropertyManager config = trustGrapher.getPropertyManager(); //Set the properties
config.setProperty(DELAY, "" + delay);
config.setProperty(SCRUB_MODE, scrubButton.isSelected() ? "true" : "false");
config.save();
dispose();
//If there is an error with the customDelayField, give an error message, but don't do anything
} catch (NumberFormatException ex) {
ChatterBox.alert("You must enter an integer between 1 and 9 000");
}