SMS dit: Java: how to program