Added a game end dialog, that shows the result of the finished game.

This commit is contained in:
LevelX2 2013-08-07 16:50:25 +02:00
parent 19726268ff
commit ae44981cfa
19 changed files with 922 additions and 4 deletions

View file

@ -40,6 +40,7 @@ import javax.swing.*;
import java.awt.*;
import java.awt.event.MouseEvent;
import java.lang.reflect.InvocationTargetException;
import mage.client.MageFrame;
/**
*
@ -157,6 +158,11 @@ public class MageDialog extends javax.swing.JInternalFrame {
this.setVisible(false);
}
public void removeDialog() {
this.setVisible(false);
MageFrame.getDesktop().remove(this);
}
public void setTitelBarToolTip(final String text) {
desktopIcon.setToolTipText(text); //tooltip on icon
Component[] children = desktopIcon.getComponents();