new MenuScreen()));
// The text that the user entered.
// Button that lets the user continue to the PlayScreen.
JButton startButton = new JButton(Constants.START_BUTTON);
startButton.addActionListener(new StartButtonListener(this,
new PlayScreen()));
panel.add(nameLabel, BorderLayout.LINE_START);
panel.add(nameFirstPlayer, BorderLayout.LINE_START);
panel.add(nameSecondPlayer, BorderLayout.LINE_START);