Fix for the ErrorDialog.

Turns out the imporved  error dialog was less helpful than the old one...
This commit is contained in:
Hannes Nevalainen 2014-04-17 17:08:41 +02:00
parent 1b3c2e4436
commit 2b8cdbb34c

View File

@ -59,7 +59,7 @@ public class ErrorDialog extends JDialog {
* @param message
*/
public static void showDialog(String message){
ErrorDialog dialog = new ErrorDialog("Opps, this was bad =S");
ErrorDialog dialog = new ErrorDialog(message);
dialog.setVisible(true);
}
}