Basic Java Game Structure using Swing