private void rbListAccountsActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rbListAccountsActionPerformed
        String str = JOptionPane.showInputDialog(this, "Activadas o Desactivadas", "Cuales Cuentas?", JOptionPane.QUESTION_MESSAGE).toLowerCase();
        int resp =0;
        
        if(str!=null){
            switch(str){
                case "activadas": resp=1; break;
                case "desactivadas": resp=2; break;
            }
        }
        
        if(resp>0 && resp<3){
            txtPane.setText(bank.listAccounts(resp));
        }else{
            JOptionPane.showMessageDialog(this, "Opcion Invalida", "Opcion no Existe", JOptionPane.ERROR_MESSAGE);
        }
        
    }//GEN-LAST:event_rbListAccountsActionPerformed