protected void btnAdicionarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnAdicionarActionPerformed
        Telefone temp = new Telefone();
        try{
            temp.setDdd(Integer.parseInt(txtDdd.getText()));
            temp.setNumero(Integer.parseInt(txtNumero.getText()));
           
        }catch(NumberFormatException ex){
            JOptionPane.showMessageDialog(rootPane, ex.getMessage());
        }
        
        this.listaTelefone.add(temp);
        carregaTabelaTelefones(this.listaTelefone);
    }//GEN-LAST:event_btnAdicionarActionPerformed