Give an example of a program that creates a GUI with at least one
Give an example of a program that creates a GUI with at least one
button and several textfields. Some of the textfields should be for input and others for output.
Make the output textfields uneditable. When the button is clicked, the input fields should be read, some calculation performed and the result displayed in the output textfield(s).
2 Design a simple calculator for two numbers.
The user interface has to be like this:
Important note. Avoid using IDE’s facilities for automatically GUI code generation.