void setTextName(int code, String name, int slots, int group){
        this.code = code;
        this.name = name;
        this.slots = slots;
        this.group = group;
        if(code == 0) this.setText("\n                        " + this.name);
        else this.setText(this.name + "\nCódigo: " + this.code + "\nCupos: " +  this.slots + ", Grupo: " + this.group);
    }