keyStrokes.append(strokes); index = 0;
   public void setKeyStrokes (String strokes) {      if (strokes != null) {//         keyStrokes.setLength(0);         keyStrokes.append(strokes);//         System.out.println("set "+ keyStrokes);//         index = 0;         length = keyStrokes.length();      }      else {         keyStrokes = new StringBuffer();         sb = new StringBuffer();         index = 0;         length = 0;      }   }