Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
incendium.gui: Modified info method in order to use JOptionPane.
Browse files Browse the repository at this point in the history
  • Loading branch information
cesrom committed Feb 5, 2020
1 parent e0fba4d commit 487231e
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 300 deletions.
7 changes: 6 additions & 1 deletion python/incendium/gui.py
Expand Up @@ -116,7 +116,12 @@ def info(message, title, detail=None):
else:
msg = '\n'.join([system.util.translate(message),
system.util.translate(detail)])
system.gui.messageBox(msg, system.util.translate(title))
JOptionPane.showMessageDialog(
None,
msg,
system.util.translate(title),
JOptionPane.INFORMATION_MESSAGE
)


def warning(message, title, detail=None):
Expand Down
5 changes: 0 additions & 5 deletions python/java/__init__.py

This file was deleted.

65 changes: 0 additions & 65 deletions python/java/lang.py

This file was deleted.

76 changes: 0 additions & 76 deletions python/java/util.py

This file was deleted.

5 changes: 0 additions & 5 deletions python/javax/__init__.py

This file was deleted.

148 changes: 0 additions & 148 deletions python/javax/swing.py

This file was deleted.

0 comments on commit 487231e

Please sign in to comment.