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...
Type: Posts; User: prodigytoast
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...