bg.add(mShowPicturesNever);
bg.add(mShowPicturesForSelection);
String timePattern = mLocalizer.msg("timePattern", "hh:mm a");
mPictureStartTime = new JSpinner(new SpinnerDateModel());
mPictureStartTime.setEditor(new JSpinner.DateEditor(mPictureStartTime, timePattern));
CaretPositionCorrector.createCorrector(((JSpinner.DateEditor) mPictureStartTime.getEditor()).getTextField(), new char[]{':'}, -1);
mPictureEndTime = new JSpinner(new SpinnerDateModel());
mPictureEndTime.setEditor(new JSpinner.DateEditor(mPictureEndTime, timePattern));
CaretPositionCorrector.createCorrector(((JSpinner.DateEditor) mPictureEndTime.getEditor()).getTextField(), new char[]{':'}, -1);
mDuration = new JSpinner(new SpinnerNumberModel(Settings.propPictureDuration.getInt(), 10, 240, 1));