mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
I cannot show a messagebox! Have to do something
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user