try putting the following snippet in there and if it works, change the message.
make sure you have the import statement:
import javax.swing.*;
String message = "This is a test of the emergency broadcast system.");
JOptionPane.showMessageDialog(null,message);