private void getData(Graphics2D graphics) {
        int i = 1, slen;
        data = new ArrayList<String>();
        if (scores.count() == 0)
            slen = 5;
        else
            slen = Math.max(5, scores.getHighest().getFormattedScore().length());
        header = String.format("Place%" + (slen - 4) + "sScore   Level   Name", " ");
        String longest = header;
        String tmpl = "#%2d   %" + slen + "s   %s   %s";
        for (Score score : scores) {
            String level = String.format("%2d.%-2d", score.getLevel(), score.getWave());
            String formatted = String.format(tmpl, i, score.getFormattedScore(), level, score.getName());
            if (formatted.length() > longest.length())
                longest = formatted;
            data.add(formatted);
            if (score == highlight)
                highlightIndex = i;
            i++;
        }
        dataOffset = screen.getXOffset(graphics, smallFont, longest);
    }