private void BestMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_BestMouseClicked
        // TODO add your handling code here:
        List<String> s = new Conectar().GetVendedor();
        int t = s.size();        
        boolean b = true;
        List<String> names = new ArrayList<>();
        for(String s1: s){
            if(names.isEmpty()){
                names.add(s1);
                b = false;
            }else{
                for(int i = 0; i < names.size();i++){     
                    if(s1.equals(names.get(i))){
                        b = false;
                    }
                }
            }if(b){
                names.add(s1);
            }
            b = true;
        }      
        Map<String, Integer> nombreMap = new TreeMap<String, Integer>();
        int cont = 1;
        int total = 0;
        for(String s1 : names){
            for(String s2 : s){
                if(s1.equals(s2)){
                    nombreMap.put(s2, cont);
                    cont++;
                    total += cont;
                }
            }
            cont = 1;
        }
        new Formas().SetValues(nombreMap,total);
    }//GEN-LAST:event_BestMouseClicked