@SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        CadQuestButton = new javax.swing.JButton();
        ConsQuestButton = new javax.swing.JButton();
        ImportAlunoButton = new javax.swing.JButton();
        ImportProfButton = new javax.swing.JButton();
        CadUsuarioButton = new javax.swing.JButton();
        ConfigProvaButton = new javax.swing.JButton();
        GerarProvaButton = new javax.swing.JButton();

        addComponentListener(new java.awt.event.ComponentAdapter() {
            public void componentShown(java.awt.event.ComponentEvent evt) {
                formComponentShown(evt);
            }
        });

        CadQuestButton.setText("Cadastro de Questão");
        if(!grupo.isCadastrarQuestao())
        CadQuestButton.setEnabled(false);
        CadQuestButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                CadQuestButtonActionPerformed(evt);
            }
        });

        ConsQuestButton.setText("Consulta de Questão");
        if(!grupo.isConsultarQuestao())
        ConsQuestButton.setEnabled(false);
        ConsQuestButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                ConsQuestButtonActionPerformed(evt);
            }
        });

        ImportAlunoButton.setText("Importar Aluno");
        if(!grupo.isImportarAlunos())
        ImportAlunoButton.setEnabled(false);
        ImportAlunoButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                ImportAlunoButtonActionPerformed(evt);
            }
        });

        ImportProfButton.setText("Importar Professor");
        if(!grupo.isImportarProfessores())
        ImportProfButton.setEnabled(false);
        ImportProfButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                ImportProfButtonActionPerformed(evt);
            }
        });

        CadUsuarioButton.setText("Cadastrar Usuário");
        if(!grupo.isCadastrarUsuario())
        CadUsuarioButton.setEnabled(false);
        CadUsuarioButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                CadUsuarioButtonActionPerformed(evt);
            }
        });

        ConfigProvaButton.setText("Configurar Prova");
        if(!grupo.isConfigurarProva())
        ConfigProvaButton.setEnabled(false);
        ConfigProvaButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                ConfigProvaButtonActionPerformed(evt);
            }
        });

        GerarProvaButton.setText("Gerar Prova");
        if(!grupo.isGerarProva())
        GerarProvaButton.setEnabled(false);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGap(28, 28, 28)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(CadQuestButton)
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                        .addComponent(CadUsuarioButton, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(ConsQuestButton, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(ImportAlunoButton, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(ImportProfButton, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(ConfigProvaButton, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addGap(28, 28, 28))
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addComponent(GerarProvaButton, javax.swing.GroupLayout.PREFERRED_SIZE, 159, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(98, 98, 98))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGap(57, 57, 57)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(CadQuestButton)
                    .addComponent(ImportProfButton))
                .addGap(34, 34, 34)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(ImportAlunoButton)
                    .addComponent(ConsQuestButton))
                .addGap(31, 31, 31)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(CadUsuarioButton)
                    .addComponent(ConfigProvaButton))
                .addGap(31, 31, 31)
                .addComponent(GerarProvaButton)
                .addContainerGap(50, Short.MAX_VALUE))
        );
    }// </editor-fold>//GEN-END:initComponents