Note: you should avoid pasting images for textual information. It makes the thread heavier (not so important these days, but still) and more importantly, the information cannot be searched nor copy & pasted.
I am not a serial specialist (never used it) but myPort.read() reads a byte, not a char. These are different in Java. char is a 16-bit unsigned, Unicode value. Perhaps try readChar().
I am not a serial specialist (never used it) but myPort.read() reads a byte, not a char. These are different in Java. char is a 16-bit unsigned, Unicode value. Perhaps try readChar().