@Override
		public void itemStateChanged(ItemEvent arg0) {
			try{
				int selectedYear = 0;
				if(year.getSelectedIndex() == 0)
					selectedYear = 1888;
				else
					selectedYear = Integer.parseInt(year.getSelectedItem().toString());
				
				if(month.getSelectedIndex() == 2) {
					if((selectedYear-1888) % 4 == 0)
						while(day.getItemCount() != 30) {
							if(day.getItemCount() < 30)
								day.addItem(""+(day.getItemCount()));
							else
								day.removeItemAt(day.getItemCount()-1);
						}
					else
						while(day.getItemCount() != 29) {
							if(day.getItemCount() < 29)
								day.addItem(""+(day.getItemCount()));
							else
								day.removeItemAt(day.getItemCount()-1);
						}
				}
			}catch(Exception e){
				
			}
		}