Java program for a journal notebook