String ks = keyStrokes.substring(index); keyStrokes.setLength(0); return ks;
return keyStrokes.substring(index);
   public String getUnprocessedKeyStroked() {      if(index >= length)//      if (keyStrokes.length() == 0)         return null;      else {//         return keyStrokes.toString();         String ks = keyStrokes.substring(index);         keyStrokes.setLength(0);         return ks;      }   }