We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I was wondering how I could make it so that JOptionPane uses only the first character inputted, even if multiple were used.
Eg.: if user inputs "Christmas", only the letter "C" is actually inputted and the rest is not counted. Thanks!