A scratchpad for Java code