Next page | Contents page |

Exercise 24 - GUI Squarer

Improve Window to take an input number and report its square, using the JOptionPane dialogues. Use a message box to report the result.

Include exception handling just as we eventually did for the non-GUI Squarer (Exercise 10).

Next page | Contents page |