public final void setEnd() {
        panel.setBackground(Color.BLACK);
        String text;
        if (correct > incorrect || correct == incorrect) {
            text = "<h1>YOU WIN!</h1>";
        } else {
            text = "<h1>YOU LOSE!</h1>";
        }
        text += "<h2>You answered " + (int) (correct) + " of "
                + (int) (correct + incorrect) + " questions correctly.  ("
                + ((int) ((correct / (correct + incorrect)) * 100)) + "%)</h2>"
                + "<br><i>Press any key to continue...</i>";
        mainPanel.setText("<html><center>" + text + "</center></html>");
        timer.startAndControlClock(timerLabel, 11);
    }