Write an application that reads in a character and displays the character’s ASCII. The getText method of the JTextField class returns a String object, so you need to extract a char value, as in
String inputString = inputField.getText();
char character = inputString.charAt(0);
Display an error message if more than one character is entered.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.