What you need in JOptionPane.showMessageDialog("Monday");
is "null" in front of Monday.

It should read: JOptionPane.showMessageDialog(null, "Monday");

Also, I've spotted another error, after...