window = (Window)wtkxSerializer.readObject(this, "calendars.wtkx");
calendar = (Calendar)wtkxSerializer.get("calendar");
calendarButton = (CalendarButton)wtkxSerializer.get("calendarButton");
selectedDateLabel = (Label)wtkxSerializer.get("selectedDateLabel");
calendar.getCalendarSelectionListeners().add(new CalendarSelectionListener() {
@Override
public void selectedDateChanged(Calendar calendar, CalendarDate previousSelectedDate) {
updateSelectedDate(calendar.getSelectedDate());
}
});