Converted sketch to Java app.