long delay;
if (MSG.view_admin_plugins_update_on_agents_now().equals(scheduling.getSelected())) {
delay = 0;
} else if (MSG.view_admin_plugins_update_on_agents_delayed().equals(scheduling.getSelected())) {
Integer value = (Integer) startDelay.getValue();
TimeUnit u = startDelay.getValueUnit();
if (value == null) {
CoreGUI.getErrorHandler()
.handleError(MSG.view_admin_plugins_update_on_agents_no_time_specified());
w.hide();