Sticky Notes code - JAVA