My first Java application part D