I cannot show a messagebox! Have to do something

This commit is contained in:
Maxmtg
2012-02-19 20:19:31 +00:00
parent 63dfe94719
commit 9a81fdc5f0

View File

@@ -107,9 +107,9 @@ public abstract class DeckReaderBase<T extends IHasName> implements IItemReader<
if ( null == newDeck )
{
String msg = "A deck or similiar object at " + file.getPath() + " failed to load.\nPlease submit this as a bug with the mentioned file/directory attached.";
JOptionPane.showMessageDialog(null, msg);
}
result.put(newDeck.getName(), newDeck);
// JOptionPane.showMessageDialog(null, msg);
} else
result.put(newDeck.getName(), newDeck);
} catch (final NoSuchElementException ex) {
final String message = String.format("%s failed to load because ---- %s", file.getName(),
ex.getMessage());