public TopPanel()
    {
        setBorder(DefaultUIProvider.getDefaultEmptyBorder());

        BoxLayout boxLayout = new BoxLayout(this, BoxLayout.X_AXIS);
        setLayout(boxLayout);

        setMaximumSize(new Dimension(Integer.MAX_VALUE, MAX_HEIGHT));

        QuestionCostLabel questionCostLabel = new QuestionCostLabel();
        add(questionCostLabel);

        add(Box.createHorizontalStrut(10));

        RoundsLabel roundsLabel = new RoundsLabel();
        add(roundsLabel);

        add(Box.createHorizontalStrut(10));

        add(FalseStartLabel.getInstance());

        add(Box.createHorizontalGlue());

        Icon newGameIcon = new ImageIcon(getClass().getResource("/img/game.png"));
        JButton newGameButton = new JButton(newGameIcon);
        newGameButton.setToolTipText("Новая игра(Ctrl + N)");
        newGameButton.setFocusable(false);
        newGameButton.addActionListener(new ActionListener()
        {
            public void actionPerformed(ActionEvent e)
            {
                ScoreManagerSingleton.getInstance().newGame();
            }
        });
        add(newGameButton);

        Icon settingsIcon = new ImageIcon(getClass().getResource("/img/settings.png"));
        JButton settingsButton = new JButton(settingsIcon);
        settingsButton.setToolTipText("Настройки(Ctrl + P)");
        settingsButton.setFocusable(false);
        settingsButton.addActionListener(new ActionListener()
        {
            public void actionPerformed(ActionEvent e)
            {
                SettingsDialog.getInstance().showDialog();
            }
        });

        add(settingsButton);
    }