A GUI program in Java