Into what type of GUI component will the user enter the fahrenheit temperature?

A good answer might be:

  • Into what type of GUI component will the user enter the fahrenheit temperature?
    • Into a TextField.
  • What type of GUI component will display the result?
    • Another TextField.

GUI Design

You might wonder how the user enters numbers into TextFields. In fact, the user will enter text (a String) which will have to be converted into int format. We'll do this later.

This is similar to the application of the previous chapter; the GUI consists of Labels and TextFields. Rather than start the GUI from scratch, it is easiest to follow the design of the previous program.


QUESTION 4:

Which of the components will need to register a listener?

Click Here after you have answered the question