@Override
	public void setVisible(boolean state) {
		
		if (state) {
			eventStart.setTime(MainWindow.setupData.getEventStartDate());
			startDatePicker.getModel().setDate(	eventStart.get(Calendar.YEAR), 
												eventStart.get(Calendar.MONTH), 
												eventStart.get(Calendar.DATE));
			startDatePicker.getModel().setSelected(true);
			
			eventEnd.setTime(MainWindow.setupData.getEventEndDate());
			endDatePicker.getModel().setDate(	eventEnd.get(Calendar.YEAR), 
												eventEnd.get(Calendar.MONTH), 
												eventEnd.get(Calendar.DATE));
			endDatePicker.getModel().setSelected(true);
		}
		super.setVisible(state);
	}