Scratch pad for java