A projectile motion simulator built using Java Swing