Boolean ErrorHour value is true because I checked using the JOptionPane message box.

Then I run this method, but when it runs to the if statement ErrorHour equals true, is doesn't work, the...