public int getKeyTime(String s) { int ind = Array.IndexOf(keyString, s); return stateArray4[ind]; } public int getKeyReleaseTime(String s)