The program is solid, with the exception of the
NullPointerException....I just can't figure out what to do to make
the program throw out an exception if the user pushes cancel on the
second input dialog box. I am also suppose to display a message
through a dialog box when this happens. I am sure it is something
minor I am not doing, but I just can't figure it out. It is the
first program I have written, so I am happy to be this far. I just
have one problem, I can't seem to work out. I have spent hours on
this.