Simple agenda in java