hobby project for java input from a gui window