public ScorePanel(TimerButtonPanel timerButtonPanel)
    {
        super();
        AnswerSideManager.getInstance().addListener(this);

        scoreManager.addListener(this);
        NamesManager namesManager = NamesManager.getInstance();
        namesManager.addListener(this);

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

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

        leftScorePanel = new SingleScorePanel(AnswerSide.LEFT);
        rightScorePanel = new SingleScorePanel(AnswerSide.RIGHT);

        add(leftScorePanel);
        add(timerButtonPanel);
        add(rightScorePanel);
    }