Hello2

catch (NumberFormatException error)
{
interest, compunds, and years have String inputs
JOptionPane.showMessageDialog( this,
"Please enter numbers!",
"Input Error", JOptionPane.ERROR_MESSAGE );


periodicPaymentJTextField.requestFocusInWindow();

}