// create combo model containing handlers to choose
DefaultComboBoxModel model = new DefaultComboBoxModel();
model.addElement(new DisplayInfo<CalendarHeaderHandler>("base (does nothing)", null));
model.addElement(new DisplayInfo<CalendarHeaderHandler>(
"default",
new SpinningCalendarHeaderHandler()));
model.addElement(new DisplayInfo<CalendarHeaderHandler>(
"default (customized)",
new DemoCalendarHeaderHandler(true, true)));
// </snip>
return model;