parseInt メソッドを使用して String の最初の 2 文字を変換しようとしていますが、変換できません。次のようになります。
String firstChars = IntMessage.substring(0,2);// firstChars is a String that corresponds to the first two characters of the string.
message=ASCII[(Integer.parseInt(firstChar))-32];//The message variable is a String that is supposed to take a firstChars variable and make it an integer so it can be used by the ASCII array in determining which element of the array is to be concatenated to the message String.
たとえば、最初の 2 文字が 98 の場合、その部分文字列を int に変換します。