public void actionPerformed(ActionEvent e) {
		for(int i=1;i<calendari.length;i++){
			if(calendari[i].getBackground() == Color.red){
				int dia = Integer.parseInt(calendari[i].getText());
				finestra.compraEntrades(dia);
			}
		}
	}