Look at the JOptionPane.showMessageDialog method. You'll have to add your own logic, but this will give a pop-up of the time change.

JOptionPane.showMessageDialog(null,"Error: Time has been...