Added a Swing component to show the game state