@Override
            public void actionPerformed(ActionEvent e) {
                dialog.dispose();
            }
Create a new Dialog with a title and a message.

@param message the message to display
@param title the title to display
jme3-awt-dialogs/src/main/java/com/jme3/awt/AWTErrorDialog.java