private void createMessage(JPanel panel) {
        JLabel message1 = new JLabel("Card pictures could not be found.");
        JLabel message2 = new JLabel("The program will shut down.");
        JLabel message3 = new JLabel("If the problem persists, ");
        JLabel message4 = new JLabel("please use the text user interface.");
        panel.add(message1);
        panel.add(message2);
        panel.add(new JLabel(""));
        panel.add(message3);
        panel.add(message4);
    }