public void completeSchedule(Match[] schedule) {
        jPanel1.setLayout(new BoxLayout(jPanel1, BoxLayout.Y_AXIS));
        jPanel1.add(Box.createRigidArea(new Dimension(0, 6)));
        for (Match match : schedule) {
            if (!match.searchFor(2771)) {
                continue;
            }
            MatchBatterySetup mbs = new MatchBatterySetup();
            mbs.setLabels(match);
            jPanel1.add(mbs);
            jPanel1.add(Box.createRigidArea(new Dimension(0, 6)));
            rows.add(mbs);
        }
        this.schedule = schedule;
    }