private void drawText(Graphics2D g) {
        int collumn1 = FRAME_WIDTH / 3;
        int collumn2 = collumn1 + (int) g.getFontMetrics().getStringBounds("Total  ", g).getWidth();
        int collumn3 = collumn2 + (int) g.getFontMetrics().getStringBounds("999 ", g).getWidth();
        int firstLineY = FRAME_HEIGHT / 3;
        int lineOffsetY = 2 * FONT_SIZE;

        String[][] finalScoreText = new String[3][5];
        finalScoreText[0][0] = "+";
        finalScoreText[0][1] = "-";
        finalScoreText[0][2] = "T";
        finalScoreText[0][3] = "pings";
        finalScoreText[0][4] = "Total";

        for (int i = 0; i < finalScoreText[1].length; i++) {
            finalScoreText[1][i] = String.valueOf(finalScore[i]);
        }

        finalScoreText[2][0] = "+ = +3 points";
        finalScoreText[2][1] = "-  = -3 points";
        finalScoreText[2][2] = "T = +3 points";
        finalScoreText[2][3] = "1 ping = +1 point";
        finalScoreText[2][4] = "";
        
        if(newHighScore){
            finalScoreText[2][4] = "NEW HIGHSCORE";
        }

        for (int i = 0; i < 5; i++) {
            g.drawString(finalScoreText[0][i], collumn1, firstLineY + i * lineOffsetY);
            g.drawString(finalScoreText[1][i], collumn2, firstLineY + i * lineOffsetY);
            g.drawString(finalScoreText[2][i], collumn3, firstLineY + i * lineOffsetY);
        }

        g.drawString("Your name:", collumn1, firstLineY + 5 * lineOffsetY);
        
        if (nameSet) {
            int x = (int) g.getFontMetrics().getStringBounds("Your name:  ", g).getWidth();
            g.drawString(name, collumn1 + x, firstLineY + 5 * lineOffsetY);
        }
    }