JTextField.getText()
Here is the program so far. To finish it fill in the remaining blanks.
getText()
method to get the user's input.parseInt()
static method of the wrapper class Integer
to
convert the input to an int
.setText()
method to convert and display the result in outCel
.Fill in the blanks.