"pref, 3dlu,pref, 3dlu,pref, 3dlu,pref, 3dlu,pref, 3dlu,pref, 3dlu,pref, 3dlu,pref, fill:3dlu:grow ,pref, 3dlu,pref"));
content.add(DefaultComponentFactory.getInstance().createSeparator(mLocalizer.msg("calendar", "Calendar")), cc.xyw(1,1,5));
content.add(new JLabel(mLocalizer.msg("select", "Select Calendar:")), cc.xyw(2,3,2));
mCalendarChooser = new JComboBox(new String[] {mLocalizer.msg("loading", "Loading list...")});
mCalendarChooser.setEnabled(false);
content.add(mCalendarChooser, cc.xy(5,3));
content.add(DefaultComponentFactory.getInstance().createSeparator(mLocalizer.msg("reminder", "Reminder")), cc.xyw(1,5,5));
mReminderCheckBox = new JCheckBox(mLocalizer.msg("reminderCheckbox", "Reminder"));
mReminderCheckBox.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent event) {
refreshEnabledElements();
}
});
content.add(mReminderCheckBox, cc.xyw(2,7,4));
mReminderText = new JLabel(mLocalizer.msg("minutesBefore", "Remind how many minutes before?"));
content.add(mReminderText, cc.xy(3,9));
Vector<GoogleComboboxItem> v = new Vector<GoogleComboboxItem>();
v.add(new GoogleComboboxItem( 5, mLocalizer.msg("5_minutes", "5 minutes")));
v.add(new GoogleComboboxItem( 10, mLocalizer.msg("10_minutes","10 minutes")));
v.add(new GoogleComboboxItem( 15, mLocalizer.msg("15_minutes","15 minutes")));
v.add(new GoogleComboboxItem( 20, mLocalizer.msg("20_minutes","20 minutes")));
v.add(new GoogleComboboxItem( 25, mLocalizer.msg("25_minutes","25 minutes")));
v.add(new GoogleComboboxItem( 30, mLocalizer.msg("30_minutes","30 minutes")));
v.add(new GoogleComboboxItem( 45, mLocalizer.msg("45_minutes", "45 minutes")));
v.add(new GoogleComboboxItem( 60, mLocalizer.msg("60_minutes","1 hour")));
v.add(new GoogleComboboxItem( 120, mLocalizer.msg("120_minutes","2 hours")));
v.add(new GoogleComboboxItem( 180, mLocalizer.msg("180_minutes","3 hours")));
v.add(new GoogleComboboxItem( 720, mLocalizer.msg("720_minutes","12 hours")));
v.add(new GoogleComboboxItem( 1440, mLocalizer.msg("1440_minutes","1 day")));
v.add(new GoogleComboboxItem( 2880, mLocalizer.msg("2880_minutes","2 days")));
v.add(new GoogleComboboxItem(10080, mLocalizer.msg("10080_minutes","1 week")));
mRemindMinutes = new JComboBox(v);
String minutes = settings.getExporterProperty(GoogleExporter.REMINDER_MINUTES);
for (GoogleComboboxItem item : v) {
if (item.getKey().equals(minutes)) {
mRemindMinutes.setSelectedItem(item);