I've been looking at the withPrintWriter example, and I can't figure out how the print("today is") and println(new java.util.Date) statements would apply to the writer instead of just being sent to the console (which is what happens if I try the example in the interpreter.)