Added basic capability to read a character from the swing console.