fieldSet.add(startDateField);
fieldSet.add(endDateField);
repeatCountField.add(new Option("-1", "Run continuously"));
repeatCountField.add(new Option("0", "Run once"));
repeatCountField.add(new Option("1", "Repeat 1"));
repeatCountField.add(new Option("2", "Repeat 2"));
repeatCountField.add(new Option("3", "Repeat 3"));
repeatCountField.add(new Option("4", "Repeat 4"));
repeatCountField.add(new Option("5", "Repeat 5"));
repeatCountField.add(new Option("10", "Repeat 10"));
repeatCountField.add(new Option("20", "Repeat 20"));
repeatCountField.setValue("-1");
fieldSet.add(repeatCountField);
repeatIntervalField.add(new Option("60000", "1 minute"));
repeatIntervalField.add(new Option("120000", "2 minutes"));
repeatIntervalField.add(new Option("300000", "5 minutes"));
repeatIntervalField.add(new Option("600000", "10 minutes"));
repeatIntervalField.add(new Option("900000", "15 minutes"));
repeatIntervalField.add(new Option("1800000", "30 minutes"));
repeatIntervalField.add(new Option("3600000", "1 hour"));
repeatIntervalField.add(new Option("7200000", "2 hours"));
repeatIntervalField.add(new Option("10800000", "3 hours"));
repeatIntervalField.add(new Option("21600000", "6 hours"));
repeatIntervalField.add(new Option("43200000", "12 hours"));
repeatIntervalField.add(new Option("86400000", "24 hours"));
repeatIntervalField.setValue("3600000");
fieldSet.add(repeatIntervalField);
Submit saveSubmit = new Submit("Save");
saveSubmit.setActionListener(new ActionListener(){