JTF
> Demo Gallery
> Simple Programs
> Add2
|
This package contains two versions of a program to add two numbers entered by the user.
The code for the Add2Console
class looks like this:
|
The code for the Add2Dialog
class is the same except for
the header line, which extends DialogProgram
instead.