Simple genius application with Swing