Check this portion of your code:

//loop through alphabet
for(int j=0;j<alphabet.length;j++){

if(cTEXT.equals(alphabet[j])){

if(j<1){
cTEXT =...