Comparison Does What It Has To
What does an ActionListener have to do?
Provides an implementation for the interface:
public void actionPerformed(ActionEvent e) {
number1 = Integer.parseInt(input1.getText() );
number2 = Integer.parseInt(input2.getText() );