text and java