private void jButton17ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton17ActionPerformed
       word3=word3.replace('Ρ', '*'); 
       exist=0;
  
       for (int i = 0; i < len; i++) {
            if (word5[i]=='Ρ') {
                word7[i]='Ρ';
                exist=1;
            }
       }
   
       if (exist==0) count=count+1;
       word8="";     
       word9="";
       for (int i = 0; i < len; i++) {
            word8 = word8+word7[i]+' ';
            word9=word9+word7[i];
       }
    
       jTextField5.setText(word8);
       jButton17.setEnabled(false);  
       count1(); 
    }