private void Competicao_ComboBoxItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_Competicao_ComboBoxItemStateChanged
        //Atualiza Jornadas_ComboBox
        Jornada_ComboBox.removeAllItems();
        Competicao competicao;
        int max_jornadas;
        if (Campeonato_RadioButton.isSelected()) {
            String key = "Escalao." + Escalao_ComboBox.getSelectedItem().toString();
            competicao = a.getDAOCompeticao().get(key);
            if(competicao != null) {
                max_jornadas = competicao.getDAOJornada().size(key);
                for (int i=1; i<= max_jornadas; i++)
                    Jornada_ComboBox.addItem(Integer.toString(i));
            }
        }
        if (Torneio_RadioButton.isSelected()) {
            if(Competicao_ComboBox.getSelectedIndex()>-1){
            String key = Competicao_ComboBox.getSelectedItem().toString();
            competicao = a.getDAOCompeticao().get(key);
            if(competicao != null) {
         
                max_jornadas = competicao.getDAOJornada().size(key);
                for (int i=1; i<= max_jornadas; i++)
                    Jornada_ComboBox.addItem(Integer.toString(i));
            }
        }
        }
    
    }//GEN-LAST:event_Competicao_ComboBoxItemStateChanged