Create MaxSizeDocument.java