improved GravityGameApplet interface