private void openAllHandsAreEmptyErrorDialog() {
        WindowCreator creator = new WindowCreator(simulationStarter.getDialog());
        JDialog errorDialog = creator.createNewJDialog("Error", 270, 140);

        JPanel mainPanel = new JPanel();
        Border padding = BorderFactory.createEmptyBorder(10, 10, 10, 10);

        mainPanel.setBorder(padding);
        mainPanel.setLayout(new GridLayout(3, 1));

        createErrorMessageForDialog(mainPanel);
        
        JPanel buttonPanel = new JPanel();
        buttonPanel.setLayout(new GridLayout(1, 3));
        buttonPanel.add(new JLabel(""));        

        JButton okButton = new JButton("OK");
        okButton.addActionListener(new CloseWindow(errorDialog));

        buttonPanel.add(okButton);
        buttonPanel.add(new JLabel(""));
        mainPanel.add(buttonPanel);

        errorDialog.setContentPane(mainPanel);        
    }