private void createSeriousErrorMessageForDialog(JPanel panel) {
        panel.add(new JLabel("Couldn't add cards to hand, because "
                + "the hand already "));        
        panel.add(new JLabel("contained one of the cards you tried to add."));              
        panel.add(new JLabel("This should not happen."));          
        panel.add(new JLabel("Please report this bug by creating"));   
        panel.add(new JLabel("an issue on the GitHub repository."));        
    }